X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_url.h;h=eaecdfa8ace9debe375bacdec758c780d21e9f92;hb=eacb6502617d4330cffe43ad57878b8902676397;hp=df8cae513bae25eaf8179222f619a57677325963;hpb=a760e170d36cc40ce992ebcdb13f0877ddfa3d73;p=m6w6%2Fext-http diff --git a/php_http_url.h b/php_http_url.h index df8cae5..eaecdfa 100644 --- a/php_http_url.h +++ b/php_http_url.h @@ -45,7 +45,9 @@ typedef struct php_http_url_part { /* parse utf8 multibyte sequences */ #define PHP_HTTP_URL_PARSE_MBUTF8 0x002 /* convert multibyte hostnames to IDNA */ -#define PHP_HTTP_URL_PARSE_IDN 0x010 +#define PHP_HTTP_URL_PARSE_TOIDN 0x010 +/* percent encode multibyte sequences in userinfo, path, query and fragment */ +#define PHP_HTTP_URL_PARSE_TOPCT 0x020 typedef struct php_http_url { /* compatible to php_url, but do not use php_url_free() */