Opened 11 years ago
Closed 11 years ago
#24471 closed Cleanup/optimization (fixed)
Exclude quotes and angle brackets from urlize URLs
| Reported by: | Shai Berger | Owned by: | nobody |
|---|---|---|---|
| Component: | Template system | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
I think we should enhance the token-splitting regex used by urlize() -- currently whitespace -- to include the quotes and maybe the < and > characters. They don't belong in an automatically-recognized URL.
Change History (2)
comment:1 by , 11 years ago
| Has patch: | set |
|---|
comment:2 by , 11 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
PR