Bug 78143
Summary: | REGRESSION (5.1.3 - ToT): doesn't open some webarchive files | ||
---|---|---|---|
Product: | WebKit | Reporter: | clear111 |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | CC: | ap, ddkilzer |
Priority: | P1 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Mac (Intel) | ||
OS: | OS X 10.7 |
clear111
I have eight webarchive files from 2009. When double-clicked, they all open instantly in Safari Version 5.1.3 (7534.53.10). When dragged to the WebKit icon, seven try to open, but they just try and try, and nothing happens. The eighth one opens.
[WebKit version: I don't recognize the numbers on your web page. When I do an info on the WebKit icon, it reads: r107100, Copyright 2005-2009 Apple Inc. I'm not a programmer and don't know much about these matters.]
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
Could you please attach the affected files?
This sounds like a bad problem, but there is not much we can do to fix it if there is no way to reproduce.
Alexey Proskuryakov
*** Bug 78317 has been marked as a duplicate of this bug. ***
Alexey Proskuryakov
Response was posted to duplicate bug:
Description From clear111@hotmail.com 2012-02-09 19:24:24 PST (-) [reply]
The files are from an internet dating site, and are very personal, so unfortunately I cannot share them.
I don’t remember if I mentioned that they were from 2009. Perhaps something changed after that time, in the webarchive files are written or read. I also don’t remember if I mentioned that the regular Safari opens them without a problem. Is there a difference in the way a webarchive file is read and interpreted, between the regular Safari and WebKit?
Wait a minute! I think that I’ve figured it out!
The files that WebKit couldn’t open all begin with a date and time containing slashes! Sometimes the OS tolerates slashes in a file name, and sometimes it doesn’t. I don’t know why that is, but a friend with a new MacBook Air had file names with slashes, and the OS opened some of them but not others! The app was Pages.
Here are three file names that WebKit couldn’t open:
03/24/2009 11-15 AM.webarchive
04/10/2009.webarchive
04/10/2009-1.webarchive
The file name that it could open is: xxxxxxxxxxX0X0 profile.webarchive
The lower case x-es represent lower case letters in the file name, the upper case X-es represent upper case letters in the file name, and the 0-s represent numbers in the file name.
You could try changing the name of a webarchive file that you have to 03/24/2009 11-15 AM.webarchive and see what happens when you try to open it.
BTW, I’m using an iMac with Mac OS 10.7.3.
Sincerely,
clear111
Alexey Proskuryakov
I could not reproduce this by renaming a WebArchive, or by saving a new file from a page that had slashes in title.