weird_proxies
weird_proxies copied to clipboard
about url
First of all, thank you for the great inspiration for this project. I found a problem, but I am not sure about the path, I found that if the url is like this Http://www.example.com/inter/test.json;a.js The spring app won't think that the js file will be ignored when the request is made; the rest of the content But the url path parser can still be complete
Thank you, I'm glad that it's helpful.
I think I don't get your question/issue. Could you clarify?
Spring uses tomcat under the hood and Tomcaat support the path parameter. Therefore, in this url Http://www.example.com/inter/test.json;a.js, during parsing, Tomcat treats ;a.js
as a path parameter. So path to a file will be /inter/test.json
for Tomcat.
He looks like this
The code uses endesWith to determine the end of the url path.
I found out that this problem exists in an open source system. Because the problem has not been confirmed by the other party, can it be communicated privately? Wechat or other
Hmm... that's interesting. https://twitter.com/antyurin or https://t.me/agrrrdog (telegram)