From 57817b058aa96d7ce8fedd6586f860696bc71279 Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Sat, 15 Oct 2016 23:07:52 +0000 Subject: [PATCH] Followup to r1764961: - ap_scan_http_uri_safe() was removed - ap_scan_vchar_obstext() was introduced git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1765112 13f79535-47bb-0310-9956-ffa450edef68 --- include/httpd.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/include/httpd.h b/include/httpd.h index 4defe1b513..859318677b 100644 --- a/include/httpd.h +++ b/include/httpd.h @@ -1647,12 +1647,10 @@ AP_DECLARE(const char *) ap_scan_http_field_content(const char *ptr); */ AP_DECLARE(const char *) ap_scan_http_token(const char *ptr); -/* Scan a string for valid URI characters per RFC3986, and - * return a pointer to the first non-URI character encountered. - * @param ptr The string to scan - * @return A pointer to the first non-token character. +/* Scan a string for visible ASCII (0x21-0x7E) or obstext (0x80+) + * and return a pointer to the first ctrl/space character encountered. */ -AP_DECLARE(const char *) ap_scan_http_uri_safe(const char *ptr); +AP_DECLARE(const char *) ap_scan_vchar_obstext(const char *ptr) /* Retrieve a token, advancing the pointer to the first non-token character * and returning a copy of the token string. -- 2.40.0