#48605 [NEW]: bugtracker parses urls incorrectly
| From: | theultramage at gmail dot com | Date: | Fri, 19 Jun 2009 12:50:23 +0000 |
| Subject: | #48605 [NEW]: bugtracker parses urls incorrectly | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-5096@lists.php.net to get a copy of this message | ||
From: theultramage at gmail dot com
Operating system:
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: bugtracker parses urls incorrectly
Description:
------------
In two bugreports of mine, I referenced revision deltas on cvs.php.net. In
both cases, I noticed that the resulting bugreport page only displays part
of the url as link, cutting it off and making it invalid.
It seems the issue is with how the comment text is word-wrapped into the
<pre> block. In the two cases I know of, the url got cut off at a dot (.)
and ampersand(&). This issue prevents people who don't notice the problem
from accessing the pages.
Reproduce code:
---------------
Visit
http://bugs.php.net/bug.php?id=48224
http://bugs.php.net/bug.php?id=48601
and check out the urls.
Expected result:
----------------
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/array.c?r1=1.79&r2=1.80&
http://cvs.php.net/viewvc.cgi/php-src/ext/simplexml/simplexml.c?r1=1.78&r2=1.79
Actual result:
--------------
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/array.c?r1=1.79&r2=1.
80&
http://cvs.php.net/viewvc.cgi/php-src/ext/simplexml/simplexml.c?r1=1.78
&r2=1.79
--
Edit bug report at http://bugs.php.net/?id=48605&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48605&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48605&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48605&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=48605&r=fixedcvs
Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48605&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=48605&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=48605&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=48605&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=48605&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=48605&r=support
Expected behavior: http://bugs.php.net/fix.php?id=48605&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=48605&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=48605&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=48605&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48605&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=48605&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=48605&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=48605&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=48605&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=48605&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=48605&r=mysqlcfg