#32118 [NEW]: Incorrect clickable link inside code in Your Notes:
| From: | php dot osde dot info at oths dot co dot uk | Date: | Sat, 26 Feb 2005 06:16:35 +0000 |
| Subject: | #32118 [NEW]: Incorrect clickable link inside code in Your Notes: | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-27573@lists.php.net to get a copy of this message | ||
From: php dot osde dot info at oths dot co dot uk
Operating system: any
PHP version: Irrelevant
PHP Bug Type: Website problem
Bug description: Incorrect clickable link inside code in Your Notes:
Description:
------------
When a URL with trailing slash inside single quotes inside a code snipit
is turned into a clickable link the closing ' is included in the link.
Reproduce code:
---------------
<?php
$url = "http://www.osde.info/";
?>
<?php
$url = 'http://www.osde.info/';
?>
Expected result:
----------------
<span class="string">"<a href="http://www.osde.info/"
target="_blank">http://www.osde.info/</a>"</span>
<span class="string">'<a href="http://www.osde.info/"
target="_blank">http://www.osde.info/</a>'</span>
Actual result:
--------------
<span class="string">"<a href="http://www.osde.info/"
target="_blank">http://www.osde.info/</a>"</span>
<span class="string">'<a href="http://www.osde.info/'"
target="_blank">http://www.osde.info/'</a></span>
--
Edit bug report at http://bugs.php.net/?id=32118&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32118&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32118&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32118&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=32118&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=32118&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=32118&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=32118&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=32118&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=32118&r=support
Expected behavior: http://bugs.php.net/fix.php?id=32118&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=32118&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=32118&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=32118&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32118&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=32118&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=32118&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=32118&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=32118&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=32118&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=32118&r=mysqlcfg