[wp-trac] [WordPress Trac] #23776: A string of text starting with "http://" turned into a paragraph
WordPress Trac
noreply at wordpress.org
Sun Jul 28 22:13:11 UTC 2013
#23776: A string of text starting with "http://" turned into a paragraph
--------------------------+------------------------------
Reporter: winterstreet | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 2.9
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by garhdez):
I think that this is not a bug.
Any string (containing allowed chars) can be a correct URL. For example,
"http://a" could be the URL of real server in an intranet, so I think this
regex is well written, because matches any string before http:// or
https:// that is not a whitespace.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23776#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list