Ability to replace trailing slash with replacePrefixMatch #1981
tonygilkerson
started this conversation in
Ideas
Replies: 1 comment
-
Agree this would be very useful, x-ref #1954 which is intended to be a broader issue tracking the ability to drop a trailing slash via redirect. |
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
-
I have what I think is a simple use case and I don't see how to do with GatewayAPI. I am trying to figure out if need to open a bug issue or not.
I want requests to
/api/foo
,/api/bar
and/api/etc
to be rewritten as/foo
,/bar
,/etc
I know I could do it with three rules and I tried that but my app as alot of endpoints and eventually I got an error for too many rules. I feel like I should be able to do it with the yaml below but instead the trailing
/
inPathPrefix
is dropped and what I end up with is request to//foo
,//bar
and//etc
Beta Was this translation helpful? Give feedback.
All reactions