【发布时间】:2011-06-17 07:15:29
【问题描述】:
发送 URL 长度约为 4950 个字符的请求。
获取以下 XMLHTTPRequest.ResponseText:
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: ##my long url##
The following error was encountered:
Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:
Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.
但是当我在浏览器中输入相同的 url 时,它工作得很好。我检查了可能的错误(在响应文本中列出) - 一切正常。
当参数的数量小于~200 时,脚本会起作用,因此线索必须在一定范围内。另一方面,apache 或 php 或 js 中没有任何设置。
任何建议或我应该在哪里寻找解决方案(一些额外的配置或其他)?
【问题讨论】:
标签: javascript jquery ajax