ID: 34242 Updated by: [EMAIL PROTECTED] Reported By: marcus at quintic dot co dot uk -Status: Open +Status: Bogus Bug Type: Session related Operating System: All PHP Version: 4.4.0 New Comment:
There's nothing wrong with it. Trust the manual. Previous Comments: ------------------------------------------------------------------------ [2005-08-24 23:24:14] marcus at quintic dot co dot uk Description: ------------ If trans_sid is set to 1, urls are rewritten with the current SID attached to them so that sessions work in non-cookie environments. In the manual it says that this does not rewrite non-relative urls as they are assumed to point off site. The problem is, this means that "local" non-relative links dont get rewritten. So if I have a site at www.domain.xyz and two links www.domain.xyz/page.html and /page.html only the second will get rewritten. Surely the correct behaviour would be to also rewrite such links? The assumption that all non-relative links are non-local seems a bit lazy when all you'd actually have to add is a quick check for the host. Admittedly the host may have more than one name, but for the majority of sites I wouldnt have thought this would be an issue. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34242&edit=1
