projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix query&fragment; add pctenc parser option
[m6w6/ext-http]
/
php_http_url.h
diff --git
a/php_http_url.h
b/php_http_url.h
index df8cae513bae25eaf8179222f619a57677325963..3c2ff764beb878ca7039fff701262112d48515a0 100644
(file)
--- a/
php_http_url.h
+++ b/
php_http_url.h
@@
-46,6
+46,8
@@
typedef struct php_http_url_part {
#define PHP_HTTP_URL_PARSE_MBUTF8 0x002
/* convert multibyte hostnames to IDNA */
#define PHP_HTTP_URL_PARSE_IDN 0x010
#define PHP_HTTP_URL_PARSE_MBUTF8 0x002
/* convert multibyte hostnames to IDNA */
#define PHP_HTTP_URL_PARSE_IDN 0x010
+/* percent encode multibyte sequences in userinfo, path, query and fragment */
+#define PHP_HTTP_URL_PARSE_PCTENC 0x020
typedef struct php_http_url {
/* compatible to php_url, but do not use php_url_free() */
typedef struct php_http_url {
/* compatible to php_url, but do not use php_url_free() */