flowgate icon indicating copy to clipboard operation
flowgate copied to clipboard

Cannot fetch Asset by name if the name contain dot

Open yixingjia opened this issue 6 years ago • 1 comments

Eg. If the name like abc.efg then call api/v1/assets/name/abc.efg will not get the asset.

yixingjia avatar Jul 09 '19 06:07 yixingjia

This is caused by the springboot default setting

more details please see https://stackoverflow.com/questions/16332092/spring-mvc-pathvariable-with-dot-is-getting-truncated

a temper solution will be add a "/" at the end of the URL will do the trick. api/v1/assets/name/abc.efg/

yixingjia avatar Jul 09 '19 07:07 yixingjia