搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改