-
Notifications
You must be signed in to change notification settings - Fork 975
Saving a page should default to title as filename #3041
Comments
Duping to #2231 |
Could you please consider reopening this issue? I know that you wrote in #2231 that it would be a security issue, but this is the standard behavior in other browsers, so there must be a way of sanitizing the page title and adding the ".html" extension before suggesting the filename. |
The issue of detecting the file extension (.html) has been reported here #1985 fyi |
In the screenshot you provided, the Google home page, which has the title "Google", is being saved as "Google.html", which is exactly the behavior I am requesting. For clarity, here is a different screenshot from Firefox. As you can see, the page title makes its way into the suggested filename field (green arrows.) This screenshot also demonstrates the filename sanitation, with the slash in the title being replaced with an underscore (blue arrows.) Here is another example, Chromium on Linux. In this case, the slash is replaced with a space instead of an underscore, which looks nicer in my opinion (pink arrows.) Compare to Brave: |
Oops, I thought the other issue was also closed... |
So doesn't we need to reopen the issue here, right? If you think the filename sanitization should be implemented, would you please open another issue? It might be off-topic here. |
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
When saving a page with File|Save, the default filename is part of the URL.
Expected behavior:
The filename should default to the page title, if there is one.
Expected: Filename defaults to page title
Actual: Filename defaults to the filename or domain in the URL
The text was updated successfully, but these errors were encountered: