Open thomasyip opened 10 years ago
when you match the url, why not first remove parts after '?' then do the match?
@ulion, I think it is what should be done.
Perhaps, parse the url first and only use the path. Be careful not to break the support of optional trailing "/".
For example,
The following url should match:
with this rule:
url('^\(?P<id>\\d{2,20})/$', 'reports.views.index')
However, it doesn't, and I need to change the rule to:
url('^\(?P<id>\\d{2,20})/.*$', 'reports.views.index')
The example (dingo-example) should be updated to add a link with query parameter. Please send pull request on both repos.