Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

Learn More

Firefox doesn't recognize file://~?

  • 2 réponses
  • 1 a ce problème
  • 12 vues
  • Dernière réponse par cor-el

more options

When I type / in the address bar Firefox immediately realizes that it's a local path and suggests file:///. But neither ~ nor file://~ points to my home directory. I hope Firefox will recognize ~ and save me from typing /home/my_username in the address bar myself.

When I type / in the address bar Firefox immediately realizes that it's a local path and suggests file:///. But neither ~ nor file://~ points to my home directory. I hope Firefox will recognize ~ and save me from typing /home/my_username in the address bar myself.

Modifié le par sw

Solution choisie

Hi, Firefox is actually governed by standards here, and they explicitly call out that `~` expansion isn't supported in file:// URIs:

https://tools.ietf.org/html/rfc8089#appendix-D.1

Unfortunately, I doubt there is much that can be done about that - it isn't a common feature across all operating systems, which is probably why the RFC has specified it in that manner.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (2)

more options

Solution choisie

Hi, Firefox is actually governed by standards here, and they explicitly call out that `~` expansion isn't supported in file:// URIs:

https://tools.ietf.org/html/rfc8089#appendix-D.1

Unfortunately, I doubt there is much that can be done about that - it isn't a common feature across all operating systems, which is probably why the RFC has specified it in that manner.

more options

A possible workaround is to use a keyword (fh) bookmark that adds the file path.

  • file:////home/my_username/%s