Opened 15 years ago
Closed 15 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: | no | UI/UX: | no |
Description
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:
r'^sitemap.xml$'
when it should be using the following regular expression:
r'^sitemap\.xml$'
as the dot is a metacharacter which should be escaped.
Attachments (1)
Change History (3)
by , 15 years ago
Attachment: | 11693.diff added |
---|
comment:1 by , 15 years ago
Has patch: | set |
---|---|
Triage Stage: | Unreviewed → Ready for checkin |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
(In [12190]) Fixed #11693 -- Added escaping for the dot in sitemap.xml in the URLpattern in sitemaps.txt. Thanks, timo