Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#21352 closed Bug (invalid)

Reverse url failed because argument contains dot

Reported by: banti124@… Owned by: nobody
Component: Core (URLs) Version: 1.5
Severity: Release blocker Keywords: Urlresolver, escape special character, username regex
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


Exception Value:
Reverse for 'user-home' with arguments '()' and keyword arguments '{'usernameinurl': u'shubham.kr619'}' not found.
At this line :
return redirect(reverse('user:user-home',kwargs={'usernameinurl':request.user.username}))

Change History (4)

comment:1 Changed 5 years ago by Aymeric Augustin

comment:2 Changed 5 years ago by Baptiste Mispelon

Resolution: invalid
Status: newclosed

comment:3 in reply to:  2 Changed 5 years ago by banti124@…

Replying to bmispelon:
Why this is marked invalid ?

comment:4 Changed 5 years ago by Aymeric Augustin

Because it's a bug in your code, not in Django, as explained in my first comment.

(I forgot to close the ticket and Baptiste did it for me.)

Note: See TracTickets for help on using tickets.
Back to Top