#19358 [Fbk->NoF]: URL Rewriter Blindly Replaces All Links
| From: | sniper@php.net | Date: | Mon, 21 Oct 2002 04:20:08 +0000 |
| Subject: | #19358 [Fbk->NoF]: URL Rewriter Blindly Replaces All Links | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22915@lists.php.net to get a copy of this message | ||
ID: 19358
Updated by: sniper@php.net
Reported By: adam@cryptocomm.com
-Status: Feedback
+Status: No Feedback
Bug Type: Session related
Operating System: Redhat 7.3
PHP Version: 4.2.3
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2002-09-29 22:14:33] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-09-11 10:11:30] adam@cryptocomm.com
I'm not sure if this is something that can easily be
repaired or what not, but myself and another programmer
ran in to a problem converting some legacy software to
PHP (from an antiquated language called iHTML). We are
using id based sessions throughout the site, and on one
page we have PHP outputing we have a URL which says:
doc.write(" <a
href=javascript:top.openHelp('http://help.internetstore.com/" +
foldersNode[4] + "')><img
src='http://assets.internetstore.com/help2.gif'
border=0></a> <a
class=mainlink href=\"javascript:top.redrawTree("+ foldersNode[5]
+",'"+
foldersNode[6] +"','"+ foldersNode[4] +"','"+ foldersNode[3]
+"')\">"+foldersNode[3]+"</a></td></tr>")
And after the Session URL Rewriter gets through with it, we get:
doc.write(" <a
href="javascript:top.openHelp("'http://help.internetstore.com/" +
foldersNode[4] + "')><img
src='http://assets.internetstore.com/help2.gif'
border=0></a> <a
class="mainlink"
href="\?sid=47388ff232bb66e8a37d9486502634bf""javascript:top.redrawTree("+
foldersNode[5] +",'"+ foldersNode[6] +"','"+ foldersNode[4]
+"','"+
foldersNode[3]
+"')\">"+foldersNode[3]+"</a></td></tr>")
And that one throws Javascript errors.
We know we can turn off URL Rewrite on that one page or the entire
site, or the entire server, are possibly even use cookies, but it would
be nice if it would not attempt to parse it, since it does so
incorrectly.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19358&edit=1