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

RESOLVED WONTFIX

Status

()

Core
Networking: Cache
RESOLVED WONTFIX
3 years ago
2 years ago

People

(Reporter: marielineet.jean, Assigned: mayhemer)

Tracking

39 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
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.
(Reporter)

Updated

3 years ago
Component: Untriaged → Web Apps
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Web Apps → Networking: Cache
Product: Firefox → Core
(Assignee)

Comment 1

3 years ago
(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
(Reporter)

Comment 2

3 years ago
Any news on this "easy to fix" bug ;-)

In my case, this is quite blocking...

Thanks
(Assignee)

Comment 3

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