}
if (value && *value != 0) {
- if (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type)) {
+ if (type && (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type))) {
apr_size_t value_len = strlen(value);
value = chxj_conv_z2h(r, value, &value_len, chtml10->entryp);
}
W_L("\"");
}
if (value && *value) {
- if (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type)) {
+ if (type && (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type))) {
apr_size_t value_len = strlen(value);
value = chxj_conv_z2h(r, value, &value_len, chtml20->entryp);
}
W_L("\"");
}
if (value && *value) {
- if (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type)) {
+ if (type && (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type))) {
apr_size_t value_len = strlen(value);
value = chxj_conv_z2h(r, value, &value_len, chtml30->entryp);
}
W_L("\"");
}
if (value && *value) {
- if (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type)) {
+ if (type && (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type))) {
apr_size_t value_len = strlen(value);
value = chxj_conv_z2h(r, value, &value_len, chtml40->entryp);
}
W_L("\"");
}
if (value && *value) {
- if (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type)) {
+ if (type && (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type))) {
apr_size_t value_len = strlen(value);
value = chxj_conv_z2h(r, value, &value_len, chtml50->entryp);
}
int use_amp_flag;
- DBG(r, "start chxj_encoding_parameter()");
+ DBG(r, "REQ[%X] start chxj_encoding_parameter()", TO_ADDR(r));
src = apr_pstrdup(r->pool, value);
if (klen != len) {
key = chxj_encoding(r, key, &len);
}
+#if 0 /* XXX:2009/4/10 */
key = chxj_url_encode(r->pool, key);
+#endif
}
val = apr_strtok(pair, "=", &vstat);
if (! val && sep_pos) {
if (vlen != len) {
val = chxj_encoding(r, val, &len);
}
+#if 0 /* XXX:2009/4/10 */
val = chxj_url_encode(r->pool, val);
+#endif
if (strlen(param) == 0) {
param = apr_pstrcat(r->pool, param, key, "=", val, NULL);
}
}
}
}
- DBG(r, "end chxj_encoding_parameter()");
+ DBG(r, "REQ[%X] end chxj_encoding_parameter()", TO_ADDR(r));
if (anchor_pos) {
return apr_pstrcat(r->pool, src_sv, "?", param, "#", anchor, NULL);
W_L("\"");
}
if (value && *value) {
- if (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type)) {
+ if (type && (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type))) {
apr_size_t value_len = strlen(value);
value = chxj_conv_z2h(r, value, &value_len, jhtml->entryp);
}
W_L("\"");
}
if (value && *value) {
- if (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type)) {
+ if (type && (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type))) {
apr_size_t value_len = strlen(value);
value = chxj_conv_z2h(r, value, &value_len, jxhtml->entryp);
}
W_L("\"");
}
if (value && *value) {
- if (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type)) {
+ if (type && (STRCASEEQ('s','S',"submit",type) || STRCASEEQ('r','R',"reset",type))) {
apr_size_t value_len = strlen(value);
value = chxj_conv_z2h(r, value, &value_len, xhtml->entryp);
}
#endif
#include "chxj_serf.h"
#include "chxj_add_device_env.h"
-#include "chxj_conv_z2h.h"
#include "chxj_header_inf.h"
#include "chxj_jreserved_tag.h"
entryp,
cookie);
}
- if (dst && *len) {
-#if 0 /* KONNO */
- dst = chxj_conv_z2h(r, dst, len, entryp);
-#endif
- }
}
}
ap_set_content_length(r, *len);