URL rewriter outputs a spurious " /"
| From: | dans at free dot fr | Date: | Thu, 19 Jul 2001 13:49:42 +0000 |
| Subject: | URL rewriter outputs a spurious " /" | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-60296@lists.php.net to get a copy of this message | ||
From: dans@free.fr
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,"\">");
}
}