Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0
-
Fix Version/s: 1.2 M2
-
Component/s: Content Filtering
-
Labels:None
-
Similar issues:
Description
DownloadImage method from WebImageAdaptorFilter does not escape illegal characters (\/:*?"<>|) from image's URL causing "Illegal characters in path" exception to be thrown. The illegal characters should be replaced with a dash ('-') or underscore('_').
Example:
<img src="image.php?id=23" alt="Image 1"/> <img src="http://opi.yahoo.com/online?u=USERNAME&m=g&t=1" alt="Yahoo Macro" />
<img src="image.php-id=23" alt="Image 1"/> <img src="http---opi.yahoo.com-online-u=USERNAME&m=g&t=1" alt="Yahoo Macro" />