Adding path with "/" character via API #580
Replies: 1 comment
-
moved here #581 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Which version are you using?
v0.17.3
Which operating system are you using?
OS
Architecture
Describe the issue
I found that it's possible to create a following config.yml with a fully working path url.
response:
The problem I'm having is that I'm not able to recreate this path via API. I've tried looking if there are any blocked characters in internal/core/api.go but I didn't find any line blocking name characters. Which leads me to believe that it's not possible to build such path when api url is:
/v1/config/paths/add/:name
as additional slashes make it so that it thinks it a different path.Here is what I tried and didn't solve my problem
Is there any way to make it work currently, or is it possible to change url from
/v1/config/paths/add
and add pathName into POST data.I think that unreserved list that is available here https://en.wikipedia.org/wiki/Percent-encoding describes which characters are currently possible to use when making a path
Beta Was this translation helpful? Give feedback.
All reactions