bneradt commented on code in PR #13408:
URL: https://github.com/apache/trafficserver/pull/13408#discussion_r3616100105
##########
include/ts/ts.h:
##########
@@ -738,6 +738,35 @@ TSReturnCode TSUrlHttpFragmentSet(TSMBuffer bufp, TSMLoc
offset, const char *val
TSReturnCode TSStringPercentEncode(const char *str, int str_len, char *dst,
size_t dst_size, size_t *length,
const unsigned char *map);
+/// Request double-quoted attribute escaping in TSStringHtmlEscape().
+constexpr bool USE_ATTRIBUTE_MODE = true;
Review Comment:
Good point. Renamed to TS_HTML_ESCAPE_USE_ATTRIBUTE_MODE
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]