Opened 19 months ago

Closed 19 months ago

Last modified 19 months 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

Description

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 19 months ago by aaugustin

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 follow-up: Changed 19 months ago by bmispelon

  • Resolution set to invalid
  • Status changed from new to closed

comment:3 in reply to: ↑ 2 Changed 19 months ago by banti124@…

Replying to bmispelon:
Why this is marked invalid ?

comment:4 Changed 19 months ago by aaugustin

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