We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Why won't Firefox open a web page if there's an apostrophe in the URL?

  • 9 ответов
  • 1 имеет эту проблему
  • 5 просмотров
  • Последний ответ от smo

more options

When I click on a link and the underlying URL contains punctuation, specifically an apostrophe, I get a page not found error. Both Safari and Chrome handle these URLs seamlessly.

When I click on a link and the underlying URL contains punctuation, specifically an apostrophe, I get a page not found error. Both Safari and Chrome handle these URLs seamlessly.

Все ответы (9)

more options

hint: try to solve the problem with the add-on URL-fixer

more options

Such links may need to escaped properly to make them work.

Can you post a link to a publicly accessible page where this is happening?

more options
more options
more options

Firefox is escaping the quote a %27 and the server doesn't like this an redirects to the website with the quote.

HTTP/1.1 301 Moved Permanently
Server: Apache
Location: /blogs/politics/Sometimes_It's_Just_People_Being_Bad_At_Their_Jobs


So both are stubborn and this is getting nowhere.

The single quote is in the 'extra' category and might not require escaping, but Firefox insists in doing this.

safe       = "$" | "-" | "_" | "." | "+"
extra      = "!" | "*" | "'" | "(" | ")" | ","
unreserved = alpha | digit | safe | extra
more options

That is well and good (FF does substitute %27 when I paste it here),

But what you are saying is that there is no solution except to use Safari.

Изменено msmollynd

more options

You can try to contact the website and ask them to look into this.
It is normal practice to allow to escape characters this way and they shouldn't redirect to the unescaped version.

more options

If it is a server-side problem, why do I have no difficulty when I use Safari? It is difficult for me to argue with them that it is THEIR problem, if the problem exists only for Firefox users. I have seen others comment on it recently also. It seems to me that Firefox needs to change something to allow a link with an apostrophe to resolve properly.

Thanks for your response, but it does not solve anything.

more options

... at least Karl's bad awful week got fixed to http://www.esquire.com/blogs/politics/jonathan-karl-bad-awful-week.

Looks like the site staff got informed somehow about these problems. I could not find the other blogs...

Изменено smo