abstractdog commented on PR #538: URL: https://github.com/apache/tez/pull/538#issuecomment-6577108103
> Thanx @abstractdog Can we use the existing libraries here? > > * Replace escapeHtmlAttribute(historyUrl) with:StringEscapeUtils.escapeHtml4(historyUrl) > * Replace escapeJsString(historyUrl) with:StringEscapeUtils.escapeEcmaScript(historyUrl) > > or > > * Replace escapeHtmlAttribute(historyUrl) with:Encode.forHtmlAttribute(historyUrl) > * Replace escapeJsString(historyUrl) with:Encode.forJavaScript(historyUrl) > > Just trying to see, if we can use some existing lib rather than maintaining these methods ourselves ack, moved to commons-text, thanks! -- 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]
