Bug #12720 Updated: An unnecessary extra slash
| From: | teilo+php at teilo dot net | Date: | Thu, 21 Feb 2002 03:53:15 +0000 |
| Subject: | Bug #12720 Updated: An unnecessary extra slash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-703@lists.php.net to get a copy of this message | ||
ID: 12720
Updated by: teilo+php@teilo.net
Reported By: pulstar@mail.com
Status: Closed
Bug Type: Session related
Operating System: Linux RedHat 7.1
PHP Version: 4.0.6
New Comment:
Is there no way to disable it though? I could not find any.
Rough guess is that most people are still serving HTML 4.01
transitional pages or someother version of HTML. This then breaks
conformance for those pages.
Also PHP ignores the fact that you may already be sending this. eg if
you have the following
<FORM ...
action="mydynpage.php?downloadID=a50d7195a107538e8043c4223e900a48"> php
still adds the hidden input.
Previous Comments:
------------------------------------------------------------------------
[2001-08-13 12:09:14] swm@php.net
The extra slash is so that PHP is in compliance with XHTML
1.0. See http://www.w3.org/MarkUp/ for more information.
Also, if this is causing your applications problems, you
may be designing them incorrectly.
------------------------------------------------------------------------
[2001-08-13 12:04:48] pulstar@mail.com
<input type="hidden" name="PHPSESSID"
value="28d352f895d1d14d2121e32d80a69299" />
When cookies are not available, PHP auto append the input above in each
form of my page. My question is: why that slash is there in the end of
the tag? It is making trouble in my site...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=12720&edit=1