WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#1545 closed defect (bug) (fixed)

Wordpress replaces valid characters in urls with HTML entities, breaking the URL

Reported by: hendry Owned by: markjaquith
Milestone: Priority: normal
Severity: major Version: 1.5.2
Component: General Keywords: wptexturize bg|dev-feedback bg|2nd-opinion bg|has-patch
Focuses: Cc:

Description

From: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=320462

If a blog is configured to have the url "http://h4x0r5.com/~ryan/blog/"
the h4x0r5.com section is caught by the "wptexturize" filter, and
corrupted.

Attachments (1)

default-filters.php.diff (499 bytes) - added by markjaquith 10 years ago.
Patch for 1.6

Download all attachments as: .zip

Change History (7)

@markjaquith10 years ago

Patch for 1.6

comment:1 @markjaquith10 years ago

  • Milestone set to 1.6
  • Owner changed from anonymous to markjaquith
  • Severity changed from normal to major
  • Status changed from new to assigned

Patch added for 1.6 SVN.

The only reason I can think that this filter has been added is for the blog description field. Doesn't seem very smart to be passing the URIs through it, however.

comment:2 @markjaquith10 years ago

  • Keywords bg|dev-feedback bg|2nd-opinion bg|has-patch added

comment:3 @mdawaffe10 years ago

Related: #1410 (now with typos!)

comment:4 @westi10 years ago

See also #1729

comment:5 @ryan10 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [2935]) Don't run bloginfo filters on URIs. fixes #1545 #1410 #1729

comment:6 @anonymous8 years ago

  • Milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.