#10833 [Com]: Hyperlink tag <a> when split on multiple lines, session ids are not propagated

From: Date: Tue, 27 Jan 2004 00:14:25 +0000
Subject: #10833 [Com]: 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-53924@lists.php.net to get a copy of this message
ID: 10833 Comment by: cruisin79 at hotmail dot com Reported By: admin at adari dot net Status: Closed Bug Type: Session related Operating System: Linux PHP Version: 4.0.5 New Comment: how do you split a hyperlink so that it can go to two frames on my webpage? Previous Comments: ------------------------------------------------------------------------ [2002-02-28 17:51:57] mfischer@php.net 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. ------------------------------------------------------------------------ [2002-02-28 16:43:20] chris dot kilhams at totalise dot co dot 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 at adari dot 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 (#53924) next »