为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

phishing url

more options

How would a browser treat a URL with reserve characters, specifically the forward slash?

sample link: https://amazon .com/prime_day_deals/xyz .info

Please note, I added a space before the dot.

Would this link work, in sending the traffic to xyz .info as opposed to the legit amazon.com?

How would a browser treat a URL with reserve characters, specifically the forward slash? sample link: https://amazon .com/prime_day_deals/xyz .info Please note, I added a space before the dot. Would this link work, in sending the traffic to xyz .info as opposed to the legit amazon.com?

所有回复 (1)

more options

A browser breaks the URL into parts:

(1) Protocol (http or https) -- this specifies how to connect

(2) Host name (in your example, amazon.com) -- this is the server to look up and connect to

(3) Path and Search (everything after the host name up to but not including #) -- this part is sent as a whole to the web server for interpretation (any part after a hash character (#) is considered by the browser after the page is returned)

Some sites do have outbound link forwarders, like Google and Facebook. For example, if you right-click > Copy Link Location on a Google search result, the URL looks like this:

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwjCq6rBqqjsAhWhIDQIHfRtBNMQFjABegQIAhAC&url=https%3A%2F%2Fwww.mozilla.org%2Fen-US%2Ffirefox%2F&usg=AOvVaw1aIQZ3syQXuPwS0XmIL8lb

That feeds into a script on Google's server to record your click and redirect you to the address in the url= section of the URL.

But in your example, if /prime_day_deals/ doesn't feed into a redirecting script, it's more likely you'll get a page not found error.