Microsoft Edge的URL长度限制 [英] URL Length limitation of Microsoft Edge

查看:862
本文介绍了Microsoft Edge的URL长度限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道Microsoft Edge的URL长度限制吗? 如您所知,Internet Explorer有URL长度限制,最大长度为2048.Edge呢?我想,它应该暂时消失...

does anybody know URL length limitation for Microsoft Edge? As you know, Internet Explorer has limitation for URL length, Maximum length is 2048. How about Edge? I guess, it should be gone for now...

推荐答案

该限制似乎在 81578个字符附近.在那之后,我得到一个无提示的失败,没有对服务器的请求.

The limit appears to be around 81578 characters. After that, I get a silent failure with no request made to the server.

我用来测试的网址如下:

The URL I was using to test looked like:

http://xx.xx.xxx.xxx:xxxx/? 81578个字符,此处

我不确定是否考虑了主机名的长度.

I'm not sure whether the length of the host name is factored in.

还值得注意的是,这里的限制应该是Windows本身而不是浏览器的问题(对不起,没有参考).看来该问题已在Windows 10中解决,因此在IE11/Windows 10上运行相同的测试会产生类似的结果.

It's also worth noting that the limitation here was supposedly a problem with Windows itself rather than the browser (sorry, no reference). It appears the issue was addressed in Windows 10, so running this same test on IE11/Windows 10 yields a similar result.

这篇关于Microsoft Edge的URL长度限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆