Closed Bug 1002504 Opened 11 years ago Closed 11 years ago

Invalid links generated if "Save as" file name contains ":"

Categories

(Firefox :: Untriaged, defect)

28 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 352082

People

(Reporter: sbrabec, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 2014031500 Steps to reproduce: I used "Save as..." in an eBay web page. The page title was: "eBay: Silicone Case For Hard Drive" Actual results: Page was saved as: "eBay: Silicone Case For Hard Drive.html" Links were saved to "eBay: Silicone Case For Hard Drive_soubory" directory (Czech locale) Images were referred e. g. by: <img src="eBay:%20Silicone%20Case%20For%20Hard%20Drive_soubory/KGrHqVqcFEOkuh5w6BReMEtTC60_12.JPG"... It apparently cannot work because "eBay:..." is not considered as a "file:" in relative notation. Expected results: Convert ":" character in file name references to "%3A". <img src="eBay%3A%20Silicone%20Case%20For%20Hard%20Drive_soubory/KGrHqVqcFEOkuh5w6BReMEtTC60_12.JPG"... works well. Work-around: sed -i 's/\(href\|src\|data\|background\)="eBay:/\1="eBay%3A/g' *.html
Thanks for the report.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
QA Whiteboard: [bugday-20140505]
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.