I'm not sure what the url rewriter does,

but I know XHTML and XML requires a trailing slash in tag that have no 
end tags (like img, input, etc)

something like this is valid:

<input name="foo" id="foo" type="text" value="bar" />

maybe that is what this code is writing?

my 2c,

colin

[EMAIL PROTECTED] wrote:

> From:             [EMAIL PROTECTED]
> Operating system: linux suse 6.4
> PHP version:      4.0.6
> PHP Bug Type:     Session related
> Bug description:  URL rewriter outputs a spurious " /"
> 
> the rewriter adds a " /" befor the closing bracket in the <form> rewriting.
> following a diff to patch it.
> sincerely Daniel S.
> 
> *** ext/standard/url_scanner_ex.c       Thu Jun 21 08:29:04 2001
> --- ext/standard/url_scanner_ex_modif.c   Thu Jul 19 14:14:34 2001
> *************** static inline void handle_form(STD_PARA)
> *** 178,182 ****
>      smart_str_appends(&ctx->result, "\"value=\"");
>      smart_str_append(&ctx->result,&ctx->q_value);
> !    smart_str_appends(&ctx->result, "\"/>");
>    }
> }
> --- 178,182 ----
>      smart_str_appends(&ctx->result, "\"value=\"");
>      smart_str_append(&ctx->result,&ctx->q_value);
> !    smart_str_appends(&ctx->result,"\">");
>    }
> }
> 



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to