Date: 10/16/00
- Next message: Phil Driscoll: "Re: [PHP-DEV] PHP 4.0 Bug #7235: session_destroy() still does notunlink session object"
- Previous message: alexm <email protected>: "[PHP-DEV] PHP 4.0 Bug #7250 Updated: mod_php.so is missing after make"
- In reply to: sean <email protected>: "[PHP-DEV] PHP 4.0 Bug #7253: URL rewriter causing problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 16 Oct 2000 sean <email protected> wrote:
> From: sean <email protected>
> Operating system: RH Linux 6.2 kernel 2.2.16
> PHP version: 4.0.3pl1
> PHP Bug Type: *Session related
> Bug description: URL rewriter causing problems
>
> The fact that the URL rewriter for transparent session ID propagation now apparently replaces single quotes with double quotes and appends the session ID to IMG tags is causing problems with JavaScript.
>
> For example, the line:
> var x = "<img src='test.jpg'>";
>
> is re-written as:
> var x = "<img src="test.jpg?PHPSESSID=blah">";
>
> and the browser's JavaScript interpreter thinks that the question mark indicates a conditional.
>
> If I try and use escaped doublequotes instead, i.e.:
> var x = "<img src=\"test.jpg\">";
var x = "<html part1" + "part2>";
In future versions you will be able to set the tags to
rewrite in the configuration file.
- Sascha
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Phil Driscoll: "Re: [PHP-DEV] PHP 4.0 Bug #7235: session_destroy() still does notunlink session object"
- Previous message: alexm <email protected>: "[PHP-DEV] PHP 4.0 Bug #7250 Updated: mod_php.so is missing after make"
- In reply to: sean <email protected>: "[PHP-DEV] PHP 4.0 Bug #7253: URL rewriter causing problems"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

