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
When using request.route_url to generate a URL for that route the _ variable is not expanded. Instead the resulting URL looks like this: http://localhost:5000/retailers/%7B_:/d+%7D/feed/1/update/18
The text was updated successfully, but these errors were encountered:
I looked at the code, and this is indeed true. The pattern used to match dynamic parts is effectively
(\{[a-zA-Z][^\}]*\})
This isn't spelled out very well in the docs though. I'm apt to just allow underscore too, and indicate that
the name between the squigglies can start with a-z or _.
I have a configured route which uses a very minimal variable name:
When using
request.route_url
to generate a URL for that route the_
variable is not expanded. Instead the resulting URL looks like this:http://localhost:5000/retailers/%7B_:/d+%7D/feed/1/update/18
The text was updated successfully, but these errors were encountered: