arturobernalg commented on PR #665: URL: https://github.com/apache/jspwiki/pull/665#issuecomment-7251664858
Reviewed the full diff (fetched the branch locally, checked against a freshly-fetched upstream/master). Looks correct, nothing blocking. The main one, HtmlStringToWikiTranslator: before this, the XXE protection was two commented-out lines, so it was effectively off. Now it sets disallow-doctype-decl, disables external general/parameter entities and external DTD loading, and setExpandEntities(false) -- that's the standard OWASP-recommended set for this, with a fallback in AttributeUriFilter for any feature NekoHTML doesn't recognize. Good fix. The rest (cookie Secure/HttpOnly opt-in, null-check in RSSGenerator.format, quoting the logged value in ShortURLConstructor, dead fckconfig.js lines) are all small and non-breaking. +1 from me. -- 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]
