[英]Link (with redirects) opens in incognito or when open in new tab, or new page is explicitly declared. Doesn't work when just clicked
What would the reasons be for a link failing in a 400 error when being clicked. 当链接被点击时,失败的原因是什么? The link also works in the other following situations
该链接在以下其他情况下也有效
I've taken apart the requests, and when requesting each request path on its own, each URL appears to work. 我已经分解了请求,并且当单独请求每个请求路径时,每个URL似乎都起作用。
The click link is invoked by Javascript on the front-end and makes requests to Java Spring back-end to push data to a RDb. 点击链接由前端的Javascript调用,并向Java Spring后端发出请求以将数据推送到RDb。
Could this be a header issue? 这可能是标题问题吗?
I cannot release the links or the code for this unfortunately due to its confidential nature, but can provide any publicly available information for debugging. 不幸的是,由于其机密性,我无法为此发布链接或代码,但可以提供任何公共可用的信息以进行调试。
The issue was that the request header length was too long. 问题是请求标头长度太长。
Please see fix below: 请参阅以下修复程序:
http://www.iliachemodanov.ru/en/blog-en/13-tools/glassfish/24-long-urls-in-glassfish-en http://www.iliachemodanov.ru/zh-CN/blog-zh-CN/13-tools/glassfish/24-long-urls-in-glassfish-zh-CN
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.