Bug #10833 Updated: Hyperlink tag <a> when split on multiple lines, session ids are not propagated

From: Date: Thu, 28 Feb 2002 22:51:57 +0000
Subject: Bug #10833 Updated: Hyperlink tag <a> when split on multiple lines, session ids are not propagated
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1338@lists.php.net to get a copy of this message
ID: 10833 Updated by: mfischer@php.net Reported By: admin@adari.net Status: Closed Bug Type: Session related Operating System: Linux PHP Version: 4.0.5 New Comment: Is it worth the hassle to extend the (post?)parse to recognize this (slow down if parse would also recognize this). Clearly documenting what's possinle and what not would be better imho. Previous Comments: ------------------------------------------------------------------------ [2002-02-28 16:43:20] chris.kilhams@totalise.co.uk This problem exists also in 4.0.6 '<a' and 'href="url"' must not be split onto different lines or the sid will not automatically be appended. <a href="page.php"> will work <a href="page.php"> will not work ------------------------------------------------------------------------ [2001-08-06 08:48:12] sniper@php.net No feedback. And the latest CVS works just fine on this kind of urls. --Jani ------------------------------------------------------------------------ [2001-07-10 05:05:45] sas@php.net Could you give a snapshot a try? http://snaps.php.net/ The scanner is supposed to ignore whitespace. ------------------------------------------------------------------------ [2001-05-12 17:24:31] admin@adari.net This applicable for browsers that don't allow cookies: The following is not working: <a class="subMenu" href="<?php if (!isset($currentMenu)) echo $smUrlRefs[$key]; else echo "../" . $smUrlRefs[$key]; ?>"> Menu </a> But if href is on the same line as <a> tag, it works: <a class="subMenu" href="<?php if (!isset($currentMenu)) echo $smUrlRefs[$key]; else echo "../" . $smUrlRefs[$key]; ?>"> Menu </a> ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=10833&edit=1

« previous php.bugs (#1338) next »