标签云

微信群

扫码加入我们

WeChat QR Code

This question already has an answer here:

What is the character limit for a URL, especially if the URL is formed from a GET method of a form.


Interesting question, had never thought about it

2018年08月16日23分49秒

Dont do it. Dont encode huge amounts of data in your URLs.

2018年08月16日23分49秒

Github writes their issue label filters into the URL. Although unlikely, that can end up filling the URL limit. I consider that a correct use of url params.

2018年08月16日23分49秒

Note that if you are looking for a limit a user can send URL to the server (e.g. a limit for the URL in access logs) then you can find the answer here (because max URL is less then max headers): stackoverflow.com/questions/686217/…

2018年08月16日23分49秒

Up-vote for the second sentence.

2018年08月16日23分49秒

Josh +1 (except for the part about "denominator")

2018年08月16日23分49秒

Microsoft invented the internet ?

2018年08月16日23分49秒

And you should be seriously questioning your design if you run anywhere near this limit.

2018年08月16日23分49秒

I exceeded it once! ^^

2018年08月16日23分49秒

molf, what about bookmarklets?

2018年08月16日23分49秒

...and Google map encoded polylines...

2018年08月16日23分49秒

... and huge base64 encoded OAuth2 integrations ...

2018年08月16日23分49秒

Knowing which platforms you mean would be helpful, as I was under the impression that IE ( 2048 chars) supports the lowest URL length of all the popular browsers / platforms...:)

2018年08月16日23分49秒

MatW What about phones and tablets...? not sure, looking for this info myself...

2018年08月16日23分49秒