| 300 | } |
| 301 | |
| 302 | TString UrlEscapeRet(const TStringBuf from, bool forceEscape) { |
| 303 | TString to; |
| 304 | to.ReserveAndResize(CgiEscapeBufLen(from.size())); |
| 305 | to.resize(UrlEscape(to.begin(), from, forceEscape) - to.data()); |
| 306 | return to; |
| 307 | } |
no test coverage detected