Closed jfraudeau closed 8 months ago
@jfraudeau Thank you! Could you please add a test for this as well?
@ocramz I added a test, let me know if anything else is missing or if there ara conventions I didn't follow
Thank you @jfraudeau , it looks good but I'd like to merge it after #303 and make it use captureParam
instead. What do you think?
Yes no problem, do as you see fit
Thank you @jfraudeau , it looks good but I'd like to merge it after #303 and make it use
captureParam
instead. What do you think?
Hi @ocramz I updated the pr to with upstream changes. Let me know if anything is still blocking
Currently url encoded forward slash is decoded before the routing logic is applied. This is a problem when we want to allow arbitrary user data to be passed as a path segment.
For example
/test/some%2Fdata/path
will be routed as/test/some/data/path
it thus becomes impossible to have a forward slash in a captured path segment.This fix bypasses the broken rountrip of
intercalate "/"
<->split (=='/')