Skip to content

Fixed unexpected behavior when double leading slash on route#212

Merged
ringabout merged 1 commit intoplanety:develfrom
Mr-Thack:devel
Feb 25, 2023
Merged

Fixed unexpected behavior when double leading slash on route#212
ringabout merged 1 commit intoplanety:develfrom
Mr-Thack:devel

Conversation

@Mr-Thack
Copy link
Copy Markdown
Contributor

Hello,

Prologue doesn't accept //a/b/c nor warns about it being invalid.
So, this rewrite trims all the slashes on the ends, and then adds one onto the front.
It also seems to pass all the tests from nimble tests.

Thank you!

@ringabout
Copy link
Copy Markdown
Member

Good job!

@ringabout ringabout merged commit e676b9a into planety:devel Feb 25, 2023
@ringabout
Copy link
Copy Markdown
Member

A test will be appreciated.

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.

2 participants