HomeSoftware Heritage

assets: XSS filtering improvements

Description

assets: XSS filtering improvements

  • put related code in a dedicated file
  • use a XSS filtering hook to fix some image relative src urls included in README HTML rendering (load image bytes from the archive content if available)
  • remove previoulsy introduced hacks in Python code as correct image loading in README HTML rendering is now handled client-side by the feature described above

Related T1641

Details

Provenance
anlambertAuthored on Apr 18 2019, 4:39 PM
anlambertPushed on Apr 19 2019, 3:39 PM
Differential Revision
D1425: assets: XSS filtering improvements
Parents
rDWAPPS3bb1a7090a4c: assets/config/bootstrap-pre-customize: Improve some stylesheets
Branches
Unknown
Tags
Unknown
Build Status
Buildable 5520
Build 7501: test-and-build