Skip to content

regression in {url-href-flat} template variable #1890

@adienakhmad

Description

@adienakhmad

Describe the bug
template variable {url-href-flat} and {url-protocol} contains colons e.g. https: in the rendered text when it should not, at least it used to not do that.

To Reproduce
Steps to reproduce the behavior:

  1. Set the filename template to archives/{url-href-flat}_{time-ms}.{filename-extension}
  2. Save any page
  3. You get a file named https:_tmuxcheatsheet.com__1766629534709.html (notice the colon)

Expected behavior
A filename like this https__tmuxcheatsheet.com__1714886210483.html (without the colon) matching the example in the template variable documentation

Environment

  • Browser: Firefox Extension v1.22.96, Safari

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions