diff options
-rw-r--r-- | ext/standard/url_scanner_ex.c | 6 | ||||
-rw-r--r-- | ext/standard/url_scanner_ex.re | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/url_scanner_ex.c b/ext/standard/url_scanner_ex.c index 99e0c2f323..e7becb5c3c 100644 --- a/ext/standard/url_scanner_ex.c +++ b/ext/standard/url_scanner_ex.c @@ -174,11 +174,11 @@ static inline void passthru(STD_PARA) static inline void handle_form(STD_PARA) { if (ctx->tag.len == 4 && strncasecmp(ctx->tag.c, "form", 4) == 0) { - smart_str_appends(&ctx->result, "<INPUT TYPE=\"HIDDEN\" NAME=\""); + smart_str_appends(&ctx->result, "<input type=\"hidden\" name=\""); smart_str_append(&ctx->result, &ctx->q_name); - smart_str_appends(&ctx->result, "\" VALUE=\""); + smart_str_appends(&ctx->result, "\" value=\""); smart_str_append(&ctx->result, &ctx->q_value); - smart_str_appends(&ctx->result, "\">"); + smart_str_appends(&ctx->result, "\" />"); } } diff --git a/ext/standard/url_scanner_ex.re b/ext/standard/url_scanner_ex.re index 3c6678538c..3060658097 100644 --- a/ext/standard/url_scanner_ex.re +++ b/ext/standard/url_scanner_ex.re @@ -172,11 +172,11 @@ static inline void passthru(STD_PARA) static inline void handle_form(STD_PARA) { if (ctx->tag.len == 4 && strncasecmp(ctx->tag.c, "form", 4) == 0) { - smart_str_appends(&ctx->result, "<INPUT TYPE=\"HIDDEN\" NAME=\""); + smart_str_appends(&ctx->result, "<input type=\"hidden\" name=\""); smart_str_append(&ctx->result, &ctx->q_name); - smart_str_appends(&ctx->result, "\" VALUE=\""); + smart_str_appends(&ctx->result, "\" value=\""); smart_str_append(&ctx->result, &ctx->q_value); - smart_str_appends(&ctx->result, "\">"); + smart_str_appends(&ctx->result, "\" />"); } } |