You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The url returned by StaticRoute.url() and DynamicRoute.url() can not be properly split, if the parameters contain reserved chars.
I'm not sure if this is intended, but considering that the query is urlencoded, it appears to be inconsistent and may render the result useless unless the caller always performs additional steps.
I feel your need but have no strong opinion how to do it.
Say, for URL matching we have two parameters: path and raw_path.
Maybe adding .raw_url() makes sense also?
Need to sleep on it anyway.
The url returned by StaticRoute.url() and DynamicRoute.url() can not be properly split, if the parameters contain reserved chars.
I'm not sure if this is intended, but considering that the query is urlencoded, it appears to be inconsistent and may render the result useless unless the caller always performs additional steps.
Adding calls to urllib.parse.quote before joining the path and the urlencoded query should fix this.
The text was updated successfully, but these errors were encountered: