﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33499	"{% url '...' test=a %} fails when ""a"" contains a forward slash"	Antônio Martos Harres	nobody	"When using {% url %}, if the dictionary passed to the second parameter is dinamically generated on the template and contains a slash, it fails with a ""No reverse match"" error, to reproduce, do the following:

In the template (html file):
```{% url 'post_list' category=category %}```

In the urls.py file:
```urlpatterns = [ path('posts/<str:category>/', post_list, name='post_list'), ]```

Now if you pass a {""category"": ""something/""} to the render functionality, it will fail with a no reverse match, this is because, in the views, the matcher for anything passed in the urls cannot contain a slash, for instance, <str:category> will not match if it contains a slash

To solve this issue, I recommend enconding the slash as %2F"	New feature	closed	Core (URLs)	3.2	Normal	wontfix			Unreviewed	0	0	0	0	0	0
