weird_proxies icon indicating copy to clipboard operation
weird_proxies copied to clipboard

about url

Open ldbfpiaoran opened this issue 5 years ago • 3 comments

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

ldbfpiaoran avatar Sep 09 '19 09:09 ldbfpiaoran

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.

GrrrDog avatar Sep 13 '19 11:09 GrrrDog

He looks like this image 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

ldbfpiaoran avatar Sep 16 '19 08:09 ldbfpiaoran

Hmm... that's interesting. https://twitter.com/antyurin or https://t.me/agrrrdog (telegram)

GrrrDog avatar Sep 16 '19 08:09 GrrrDog