Does OWASP support conversion of relative path to absolute using base href

43 views
Skip to first unread message

Sneha Patil

unread,
Apr 26, 2019, 11:14:28 AM4/26/19
to OWASP Java HTML Sanitizer Support
Is there any provision where relative paths can be converted to absolute using base tag during sanitisation process.

e.g.
<html><head><base href="https://wiki.test.com/"/></head>
<body><img  width="100"  src="download/thumbnails/test.png"/></body></html>

should be converted to 
<html><head></head>
<body><img  width="100"  src="https://wiki.test.com/download/thumbnails/test.png"/></body></html>

Reply all
Reply to author
Forward
0 new messages