src/server/util/uri.cpp

changeset 385
a1f4cb076d2f
parent 355
4a7dd7ff92c9
equal deleted inserted replaced
210:21274e5950af 385:a1f4cb076d2f
55 if (flagDbcsUri == -1) { 55 if (flagDbcsUri == -1) {
56 flagDbcsUri = StringValue::getBoolean(conf_findGlobal("DbcsUri")); 56 flagDbcsUri = StringValue::getBoolean(conf_findGlobal("DbcsUri"));
57 } 57 }
58 return flagDbcsUri; 58 return flagDbcsUri;
59 */ 59 */
60 return PR_FALSE; 60 return PR_TRUE;
61 } 61 }
62 62
63 #ifdef XP_WIN32 63 #ifdef XP_WIN32
64 void set_fullpathname(PRBool b) 64 void set_fullpathname(PRBool b)
65 { 65 {
226 #endif 226 #endif
227 } 227 }
228 228
229 229
230 /* --------------------------- util_uri_escape ---------------------------- */ 230 /* --------------------------- util_uri_escape ---------------------------- */
231 /*
232 NSAPI_PUBLIC char *util_uri_escape(char *od, const char *s) 231 NSAPI_PUBLIC char *util_uri_escape(char *od, const char *s)
233 { 232 {
234 int flagDbcsUri = allow_dbcs_uri(); 233 int flagDbcsUri = allow_dbcs_uri();
235 char *d; 234 char *d;
236 235
265 } 264 }
266 } 265 }
267 *d = '\0'; 266 *d = '\0';
268 return od; 267 return od;
269 } 268 }
270 */
271 269
272 270
273 /* --------------------------- util_url_escape ---------------------------- */ 271 /* --------------------------- util_url_escape ---------------------------- */
274 /* 272
275 NSAPI_PUBLIC char *util_url_escape(char *od, const char *s) 273 NSAPI_PUBLIC char *util_url_escape(char *od, const char *s)
276 { 274 {
277 int flagDbcsUri = allow_dbcs_uri(); 275 int flagDbcsUri = allow_dbcs_uri();
278 char *d; 276 char *d;
279 277
308 } 306 }
309 } 307 }
310 *d = '\0'; 308 *d = '\0';
311 return od; 309 return od;
312 } 310 }
313 */ 311
314 312
315 /* ------------------------- util_uri_strip_params ------------------------- */ 313 /* ------------------------- util_uri_strip_params ------------------------- */
316 314
317 NSAPI_PUBLIC char* util_uri_strip_params(char *uri) 315 NSAPI_PUBLIC char* util_uri_strip_params(char *uri)
318 { 316 {

mercurial