Firefox Appending '/' to URLs - Why?

Discussion of general topics about Mozilla Firefox
Post Reply
User avatar
BuddhaNature
Posts: 537
Joined: January 3rd, 2008, 9:44 am
Location: Scotland

Firefox Appending '/' to URLs - Why?

Post by BuddhaNature »

I notice recently, actually from quite some time ago now, that Firefox very frequently 'appends' a '/' (forward slash) character to URLs. So if I click in the URL box to highlight the URL, copy it, and paste it elsewhere it includes the appended /. I don't think Firefox did this in the past.

Why is Firefox doing this now? What purpose does it serve? Are there any rules that govern when a / will or will not be appended? (I can't see a pattern myself.)
OS: Windows 10 Pro. x64
User avatar
DanRaisch
Moderator
Posts: 127247
Joined: September 23rd, 2004, 8:57 pm
Location: Somewhere on the right coast

Re: Firefox Appending '/' to URLs - Why?

Post by DanRaisch »

I'm not seeing that here with version 68.0.1 under Win 10.
Is that happening with every URL or only certain ones?
Have you tried starting Firefox in Mozilla Safe Mode? http://kb.mozillazine.org/Safe_mode
If no improvement using Safe Mode, do you have the same problem if you create a new profile and test it with no extensions or non-default themes installed?
http://kb.mozillazine.org/Profile_Manager
and
http://kb.mozillazine.org/Creating_a_ne ... on_Windows
kreemoweet
Posts: 778
Joined: December 30th, 2009, 11:25 pm

Re: Firefox Appending '/' to URLs - Why?

Post by kreemoweet »

As I recall, a valid URL requires a PATH and FILENAME at the end. If they are omitted by the user, a default filename is assumed, and
a default path of "/", the root directory, is used. I don't recall ever using a browser, including FF since version 3.0, that omitted the "/" after the domain name.
Brummelchen
Posts: 4480
Joined: March 19th, 2005, 10:51 am

Re: Firefox Appending '/' to URLs - Why?

Post by Brummelchen »

/ is delimiter for a path - if not present last is a file. Or redirected from server. See kerft. Valid url have a delimiter -> RFC.

https://tools.ietf.org/html/rfc3986
https://tools.ietf.org/html/rfc1738
Post Reply