<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>129541</bug_id>
          
          <creation_ts>2014-03-01 02:17:43 -0800</creation_ts>
          <short_desc>Appcache fallback fail is cached</short_desc>
          <delta_ts>2022-10-27 08:58:48 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mihai">themihai</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>annevk</cc>
    
    <cc>ap</cc>
    
    <cc>dbates</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>985908</commentid>
    <comment_count>0</comment_count>
    <who name="Mihai">themihai</who>
    <bug_when>2014-03-01 02:17:43 -0800</bug_when>
    <thetext>How to reproduce : 

1. Deploy  a webpage ( index.html)  on https://www.domain.com/ with the manifest file reference.

Config the manifest file as below ( manifest.appcache ): 

CACHE MANIFEST
# Time: Fri Feb 28 2014 11:00:57 GMT+0000 (GMT)

CACHE:
css/style.css

NETWORK:
*

FALLBACK:
/ /offline.html


Set the  webserver to redirect /offline.html to /#/offline.html

Result : You get a correct error :

 Application Cache update failed, because https://www.domain.epek.com/offline.html was redirected.

Next :
 1. Fix the webserver and handle /offline.html appropriately so that it won&apos;t redirect anymore.
 2. visit again the webpage 
Result : You still get the error &quot;Application Cache update failed, because https://www.domain.epek.com/offline.html was redirected.&quot; which means that if for some reasons the webserver is malfunctioning and doesn&apos;t handle /offline.html file accordingly (e.g. issues a redirect) the clients are punished with a PERMANENT cache.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1908727</commentid>
    <comment_count>1</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2022-10-27 08:58:48 -0700</bug_when>
    <thetext>AppCache is now disabled and will be removed in bug 219391.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>