Problems with pingback urls with comma “,” inside
-
Hi,
seems like we found a bug.
WordPress does not extract urls with a , like http://www.myWebsite.de/tests/digicam/0,39030924,39159407,00/enorm+anpassungsfaehig+casio+exilim+zoom+ex_z1080+video.htm
Returns as URL : http://www.cnet.de/tests/digicam/0
After looking at the code i think we found the problem:
the do_enclose function uses this regular expression:
$ltrs = ‘\w’;
$gunk = ‘/#~:.?+=&%@!\-‘;
$punc = ‘.:?\-‘;
$any = $ltrs . $gunk . $punc;preg_match_all(“{\b http : [$any] +? (?= [$punc] * [^$any] | $)}x”, $content, $post_links_temp);
which is missing ‘,’ at all. As far as we found out commas are allowed within urls see also: http://gbiv.com/protocols/uri/rfc/rfc3986.html#examples
Maybe sombody could fix that so that sites can get pinged with ‘comma’-Urls 🙂
Thanks
Torsten
The topic ‘Problems with pingback urls with comma “,” inside’ is closed to new replies.