diff options
-rw-r--r-- | ext/standard/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/file.c b/ext/standard/file.c index 529e952ff0..b1500e37d8 100644 --- a/ext/standard/file.c +++ b/ext/standard/file.c @@ -2125,7 +2125,7 @@ size_t php_fread_all(char **buf, int socket, FILE *fp, int issock) { } /* See http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2 */ -#define PHP_META_HTML402_CHARS "-_.:" +#define PHP_META_HTML401_CHARS "-_.:" /* Tokenizes an HTML file for get_meta_tags */ php_meta_tags_token php_next_meta_token(FILE *fp, int socketd, int issock, int *use_last_char, int *last_char, char **data, int *datalen) { @@ -2186,7 +2186,7 @@ php_meta_tags_token php_next_meta_token(FILE *fp, int socketd, int issock, int * buff[(*datalen)++] = ch; while (!FP_FEOF(socketd,fp,issock) && (ch = FP_FGETC(socketd,fp,issock)) && - (isalnum(ch) || strchr(PHP_META_HTML402_CHARS,ch))) { + (isalnum(ch) || strchr(PHP_META_HTML401_CHARS,ch))) { buff[(*datalen)++] = ch; |