You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2021/11/12 08:43:48 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #2631: 高版本spring(5.3.7以及以上)UriComponentsBuilder的URI_PATTERN发生变化,没办法识别CSE的URI(cse://appid:servicename/...))

liubao68 commented on issue #2631:
URL: https://github.com/apache/servicecomb-java-chassis/issues/2631#issuecomment-966924190


   这个使用方式是 servicecomb 早期设计不当导致的。 服务名 `APP:SERIVCE` 中的 `:` 会破坏 url 语义。 有如下建议:
   
   1. 使用 `APP.SERIVCE`  替换  `APP:SERIVCE` 
   2. 解析服务名的代码做判断,如果使用了  `APP:SERIVCE` , 提示错误; 服务名和应用名如果包含 `.`, 也检查一下提示错误,建议用户使用 `-` 替换。 以避免 url 中 `.` 带来的歧义。 
   


-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org