Added GCDWebServerNormalizePath() API

This commit is contained in:
Pierre-Olivier Latour
2019-01-04 18:58:43 -08:00
parent 79d9fb389c
commit ec800b43d5
3 changed files with 39 additions and 0 deletions
@@ -102,6 +102,11 @@ NSString* GCDWebServerFormatISO8601(NSDate* date);
*/
NSDate* _Nullable GCDWebServerParseISO8601(NSString* string);
/**
* Removes "//", "/./" and "/../" components from path as well as any trailing slash.
*/
NSString* GCDWebServerNormalizePath(NSString* path);
#ifdef __cplusplus
}
#endif