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

From: Date: Thu, 28 Feb 2002 21:43:21 +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-1323@lists.php.net to get a copy of this message
ID: 10833 Updated by: chris.kilhams@totalise.co.uk Reported By: admin@adari.net Status: Closed Bug Type: Session related Operating System: Linux PHP Version: 4.0.5 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [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 (#1323) next »