-
-
Notifications
You must be signed in to change notification settings - Fork 53
Some characters are not allowed in paths always causes a stacktrace #182
Copy link
Copy link
Closed
Description
I'm having a problem with the error Illegal characters occurred in the mapped pattern,please restrict to alphanumeric, or the following: - . _ ~ / * { } & ' originating from
prologue/src/prologue/core/route.nim
Lines 132 to 133 in cec75e8
| raise newException(RouteError, "Illegal characters occurred in the mapped pattern," & | |
| "please restrict to alphanumeric, or the following: - . _ ~ / * { } & '") |
Is there a specific reason behind this? I wanted to create a service that can handle paths like /@group/.... There are other legitimate characters that are not present as well. Is there a specific reason why valid characters in HTTP are forbidden, how can I use them?
I thought initially that was only in the pattern format, but I switched to regex and I still have the issue.
Is there a way to bypass the routing feature in prologue to implement custom routing instead?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels