Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE, 6.2.0 CE M3
-
Component/s: WCM
-
Labels:
-
Environment:Any
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Similar Issues:
Description
Suppose an AJAX request is made which results in a 404.
If the body of the response is read then the page will be redirected to /c or main page of the site (due to the body "onload" event or the meta content refresh).
This is annoying when you don't control the application making the ajax request (like a third party plugin).
Therefore we should try to detect if the request is an AJAX request and if so, don't redirect.

Committed on:
Portal 6.2.x GIT ID: fdbdf3e7c2c94ee91025c64ef54081cace1c64fb.