#16910 closed Bug (fixed)
Misleading regex in urlpatterns inclusion example
| Reported by: | Owned by: | nobody | |
|---|---|---|---|
| Component: | Documentation | Version: | 1.3 |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
In the second example from Including other URLconfs, the "extra_patterns" do not start with a "^" which seems to lead to a situation where anything can be inserted between the first and the second part of the defined URL. For instance,
credit/reports/123/
and
credit/somethingsomethingreports/123/
would both lead to the "credit.views.report" view.
Change History (3)
comment:1 by , 14 years ago
| Easy pickings: | set |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 14 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In [16892]:
(The changeset message doesn't reference this ticket)