OSDN Git Service

* Fixed bug.
authorAtsushi Konno <konn@users.sourceforge.jp>
Mon, 15 Dec 2008 19:34:33 +0000 (04:34 +0900)
committerAtsushi Konno <konn@users.sourceforge.jp>
Mon, 15 Dec 2008 19:34:33 +0000 (04:34 +0900)
    - ?guid=ON?guid=ON

src/chxj_chtml10.c
src/chxj_chtml20.c
src/chxj_chtml30.c
src/chxj_chtml40.c
src/chxj_chtml50.c

index 8be91fd..1831535 100644 (file)
@@ -1865,7 +1865,7 @@ s_chtml10_start_form_tag(void *pdoc, Node *node)
     q = strchr(attr_value, '?');
     if (q) {
       new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_value, 0, post_flag, &new_query_string, CHXJ_TRUE, CHXJ_FALSE);
-      if (new_hidden_tag) {
+      if (new_hidden_tag || new_query_string) {
         *q = 0;
       }
     }
index 88724f4..9bd8697 100644 (file)
@@ -1500,7 +1500,7 @@ s_chtml20_start_form_tag(void *pdoc, Node *node)
     q = strchr(attr_action, '?');
     if (q) {
       new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag, &new_query_string, CHXJ_TRUE, CHXJ_FALSE);
-      if (new_hidden_tag) {
+      if (new_hidden_tag || new_query_string) {
         *q = 0;
       }
     }
index 588c454..1a1a7d3 100644 (file)
@@ -1354,7 +1354,7 @@ s_chtml30_start_form_tag(void *pdoc, Node *node)
     q = strchr(attr_action, '?');
     if (q) {
       new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag, &new_query_string, CHXJ_TRUE, CHXJ_FALSE);
-      if (new_hidden_tag) {
+      if (new_hidden_tag || new_query_string) {
         *q = 0;
       }
     }
index c986103..15c8aeb 100644 (file)
@@ -1360,7 +1360,7 @@ s_chtml40_start_form_tag(void *pdoc, Node *node)
     q = strchr(attr_action, '?');
     if (q) {
       new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag, &new_query_string, CHXJ_TRUE, CHXJ_FALSE);
-      if (new_hidden_tag) {
+      if (new_hidden_tag || new_query_string) {
         *q = 0;
       }
     }
index 11b1a33..17a64be 100644 (file)
@@ -1401,7 +1401,7 @@ s_chtml50_start_form_tag(void *pdoc, Node *node)
     q = strchr(attr_action, '?');
     if (q) {
       new_hidden_tag = chxj_form_action_to_hidden_tag(r, doc->pool, attr_action, 0, post_flag, &new_query_string, CHXJ_TRUE, CHXJ_FALSE);
-      if (new_hidden_tag) {
+      if (new_hidden_tag || new_query_string) {
         *q = 0;
       }
     }