Skip to content

Conversation

membphis
Copy link
Member

…the URI before route mathing.

fix #1765

@membphis
Copy link
Member Author

@apache/apisix-committers The default value, which one is better? true or false?

delete_uri_tail_slash: true

@ShiningRush
Copy link
Contributor

I think false would be better, no tricks when matching route except user want.
So can ensure users know what happen when them set true

@membphis
Copy link
Member Author

I think false would be better, no tricks when matching route except user want.
So can ensure users know what happen when them set true

Ok, I have updated the processing logic.

@membphis membphis merged commit f9a8a26 into apache:master Jul 29, 2020
@membphis membphis deleted the delete-uri-end-slash branch July 29, 2020 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature: add a new option, decide if we remove the "/" at the end of the URI before route mathing

3 participants