int post_flag = (attr_method && strcasecmp(attr_method, "post") == 0) ? 1 : 0;
W_L("<form");
- if (attr_value) {
+ if (attr_action) {
char *q;
- q = strchr(attr_action, '?');
+ char *new_query_string = NULL;
+ q = strchr(attr_value, '?');
if (q) {
- new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag);
+ new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_value, 0, post_flag, &new_query_string, CHXJ_TRUE);
if (new_hidden_tag) {
*q = 0;
}
W_L("<form");
if (attr_action) {
+ attr_action = chxj_encoding_parameter(r, attr_action, 0);
+ attr_action = chxj_add_cookie_parameter(r, attr_action, chtml20->cookie);
char *q;
+ char *new_query_string = NULL;
q = strchr(attr_action, '?');
if (q) {
- new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag);
+ new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag, &new_query_string, CHXJ_TRUE);
if (new_hidden_tag) {
*q = 0;
}
W_L("<form");
if (attr_action) {
+ attr_action = chxj_encoding_parameter(r, attr_action, 0);
+ attr_action = chxj_add_cookie_parameter(r, attr_action, chtml30->cookie);
char *q;
+ char *new_query_string = NULL;
q = strchr(attr_action, '?');
if (q) {
- new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag);
+ new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag, &new_query_string, CHXJ_TRUE);
if (new_hidden_tag) {
*q = 0;
}
W_L("<form");
if (attr_action) {
+ attr_action = chxj_encoding_parameter(r, attr_action, 0);
+ attr_action = chxj_add_cookie_parameter(r, attr_action, chtml40->cookie);
char *q;
+ char *new_query_string = NULL;
q = strchr(attr_action, '?');
if (q) {
- new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag);
+ new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag, &new_query_string, CHXJ_TRUE);
if (new_hidden_tag) {
*q = 0;
}
W_L("<form");
if (attr_action) {
+ attr_action = chxj_encoding_parameter(r, attr_action, 0);
+ attr_action = chxj_add_cookie_parameter(r, attr_action, chtml50->cookie);
char *q;
+ char *new_query_string = NULL;
q = strchr(attr_action, '?');
if (q) {
- new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag);
+ new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag, &new_query_string, CHXJ_TRUE);
if (new_hidden_tag) {
*q = 0;
}
W_L("<form");
if (attr_action) {
+ attr_action = chxj_encoding_parameter(r, attr_action, 0);
+ attr_action = chxj_add_cookie_parameter(r, attr_action, jhtml->cookie);
char *q;
+ char *unused = NULL;
q = strchr(attr_action, '?');
if (q) {
- new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag);
+ new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag, &unused, CHXJ_FALSE);
if (new_hidden_tag) {
*q = 0;
}
W_L("<form");
if (attr_action) {
+ attr_action = chxj_encoding_parameter(r, attr_action, 1);
+ attr_action = chxj_add_cookie_parameter(r, attr_action, jxhtml->cookie);
char *q;
+ char *unused = NULL;
q = strchr(attr_action, '?');
if (q) {
- new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 1, post_flag);
+ new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 1, post_flag, &unused, CHXJ_FALSE);
if (new_hidden_tag) {
*q = 0;
}
W_L("<form");
if (attr_action) {
+ attr_action = chxj_encoding_parameter(r, attr_action, 1);
+ attr_action = chxj_add_cookie_parameter(r, attr_action, xhtml->cookie);
char *q;
+ char *unused = NULL;
q = strchr(attr_action, '?');
if (q) {
- new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 1, post_flag);
+ new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 1, post_flag, &unused, CHXJ_FALSE);
if (new_hidden_tag) {
*q = 0;
}