[wp-trac] [WordPress Trac] #3777: Create Post bug, weird formating if linked url has two dashes in a row

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 12 06:31:02 GMT 2007


#3777: Create Post bug, weird formating if linked url has two dashes in a row
----------------------------+-----------------------------------------------
 Reporter:  bobmorris60     |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  low             |   Milestone:  2.3      
Component:  Administration  |     Version:           
 Severity:  normal          |    Keywords:           
----------------------------+-----------------------------------------------
 I've found what I think is a weird bug in the editor in WP. Basically, if
 you create a link in a post, and the url to the link has two dashes in a
 row, it mangles the post, adding the text after the link to the top of the
 post as well as under it. Seriously... What's odder, the post looks fine
 in the editor, but is mangled in the preview window and when it appears on
 the blog.

 This is repeatable in both WordPress.org and WordPress.com. It happened to
 me in versions previous to 2.1, and took me quite a while to figure out.

 An example, this url (note the two dashes) created a mangled post in the
 editor when creating a link with it.

 http://www.dott07.com/blog/index.cfm/2007/2/5/Doors-of-Perception-9--Juice

 I then used tinyurl for that url and the post then displayed fine. There's
 at least one news site (I forget which) where the urls always end with two
 dashes and I always have to use tinyurl.

 Can anyone else duplicate this?

-- 
Ticket URL: <http://trac.wordpress.org/ticket/3777>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list