Closed Bug 1188309 Opened 9 years ago Closed 8 years ago

Appcache: result is different if page has a # (hash) tag

Categories

(Core :: Networking: Cache, defect)

39 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: marielineet.jean, Assigned: mayhemer)

Details

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150629114049

Steps to reproduce:

I made a page which use an appcache.
When loaded, the page directly goes to a specific hash: 
http://localhost/cryptomedic/app/index.php#/home

The page start with:
<html manifest='../cache/manifest.manifest' >


Actual results:

I debugged it a bit with the shift-F2 tool (developper bar?).
appcache validate -> Manifest URI: http://localhost/cryptomedic/app/index.php#/../cache/manifest.manifest
It seems to me that this is incorrect!

If I remove the auto redirection to "#/home", the same command
appcache validate -> Cache is valid
(and thus, I don't know what is the URL, but I expect it to be correct according to the message)


Expected results:

I would expect the appcache engine to remove the trailing "index.php#" before resolving the URL of the appcache.
Component: Untriaged → Web Apps
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Web Apps → Networking: Cache
Product: Firefox → Core
(In reply to marielineet.jean from comment #0)
> User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101
> Firefox/39.0
> Build ID: 20150629114049
> 
> Steps to reproduce:
> 
> I made a page which use an appcache.
> When loaded, the page directly goes to a specific hash: 
> http://localhost/cryptomedic/app/index.php#/home
> 
> The page start with:
> <html manifest='../cache/manifest.manifest' >
> 
> 
> Actual results:
> 
> I debugged it a bit with the shift-F2 tool (developper bar?).
> appcache validate -> Manifest URI:
> http://localhost/cryptomedic/app/index.php#/../cache/manifest.manifest
> It seems to me that this is incorrect!


Definitely is :)  Should be easy to fix.
Assignee: nobody → honzab.moz
Any news on this "easy to fix" bug ;-)

In my case, this is quite blocking...

Thanks
We are about to remove appcache support.  Not worth a fix.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.