liubao68 commented on issue #2662: URL: https://github.com/apache/servicecomb-java-chassis/issues/2662#issuecomment-1006361184
这个问题看起来属于理解错误。 `;`, `.`, `,` 是合法的 [URL-path-segment string](https://url.spec.whatwg.org/#syntax-url-path-segment) , 是不需要转义的。 理解错误的关键点在于 `;`, `.`, `,` 在 path-segment 中是有特殊含义的, 使用者不期望表现出这个特殊含义。 作为框架处理层, 是不知道使用者的意图, 是表现特殊含义还是不表现特殊含义? 提这个问题显然是期望不表现特殊含义。 考虑到上述歧义, 框架处理层只能二选一。 当使用者不期望表现出这个特殊含义时,需要自己预先转义,而不是框架转义。 -- 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]
