iwangjie opened a new issue, #4508:
URL: https://github.com/apache/shenyu/issues/4508

   ### Question
   
   RFC 3986 said:
   
   If a URI contains an authority component, then the path component must 
either be empty or begin with a slash ("/") character. If a URI does not 
contain an authority component, then the path cannot begin with two slash 
characters ("//"). In addition, a URI reference (Section 4.1) may be a 
relative-path reference, in which case the first path segment cannot contain a 
colon (":") character. The ABNF requires five separate rules to disambiguate 
these cases, only one of which will match the path substring within a given URI 
reference. We use the generic term "path component" to describe the URI 
substring matched by the parser to one of these rules.
   
   
   ---
   But Tomcat, as a high-occupancy web container, violates the constraint
   
   
![image](https://user-images.githubusercontent.com/23075587/228404174-d7f693df-450e-47da-9f45-a6faf83de7ed.png)
   
   
   **Whether or not Shenyu as a gateway needs to tolerate this has improved 
compatibility and less surprise, helping the corporate infrastructure group to 
keep the“Non-canonical” writing of business systems unchanged, i think this is 
necessary because violating this specification is less costly for a company 
with many existing services than complying with it, and we should be lenient, 
right?**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to