Opened 7 years ago

Closed 7 years ago

#11693 closed (fixed)

Sitemap framework docs contain a regular expression error in the URLconf examples

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.1
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The documentation page for the sitemap framework contains a small regular expression error in the URLconf examples.

Several times the page uses the following regular expression:


when it should be using the following regular expression:


as the dot is a metacharacter which should be escaped.

Attachments (1)

11693.diff (1.3 KB) - added by Tim Graham 7 years ago.

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by Tim Graham

Attachment: 11693.diff added

comment:1 Changed 7 years ago by Tim Graham

Has patch: set
Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedReady for checkin

comment:2 Changed 7 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [12190]) Fixed #11693 -- Added escaping for the dot in sitemap.xml in the URLpattern in sitemaps.txt. Thanks, timo

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