@@ -32,14 +32,24 @@ * * @return A new autoreleased string */ - (OFString*)stringByURLEncoding; +/*! + * @brief Encodes a string for use in a URL, but does not escape the specified + * ignored characters. + * + * @param ignored A C string of characters that should not be escaped + * + * @return A new autoreleased string + */ +- (OFString*)stringByURLEncodingWithIgnoredCharacters: (const char*)ignored; + /*! * @brief Decodes a string used in a URL. * * @return A new autoreleased string */ - (OFString*)stringByURLDecoding; @end OF_ASSUME_NONNULL_END