Browse files

Changed mobile redirect to be a meta tag instead of cflocation. This …

…was to remove any hash anchor in url.
  • Loading branch information...
1 parent dca2122 commit 98843cd0a29038d84415026cfe5a5a741cc400df grumpy committed Jun 5, 2011
Showing with 4 additions and 2 deletions.
  1. +3 −1 client/mobile/index.cfm
  2. +1 −1 install/readme.txt
@@ -23,7 +23,9 @@
<cfif isQuery(thePostID.entries)>
<!---have to do this because mobile breaks on ses urls--->
<cfset session.loadPost =>
- <cflocation url="http://#cgi.SERVER_NAME##cgi.SCRIPT_NAME#" addToken="false">
+ <cfheader statuscode="307" statustext="Temporary Redirect">
+ <meta http-equiv="refresh" content="0;url=<cfoutput>http://#cgi.SERVER_NAME##cgi.SCRIPT_NAME#</cfoutput>" />
+ <cfabort>
<cfelseif isDefined('session.loadPost')>
<cfset loadpost = session.loadPost>
@@ -27,7 +27,7 @@ This is done by adding ?reinit=1 to the URL.
Last Updated: June 2, 2011
/client/admin/pod.cfm - Corrects issue with case sensitivity with pods. Forces pod names to lowercase on creation / update. This may cause issues with existing pods in case sensitive environments as an update to a pod may generate a new pod with a lowercase name.
/client/org/camden/blog/render/render.cfc - Corrects issue where spaces in a renderer attribute value would cause the wrong value to be returned. (previously myAtribute="this that" would have returned "this")
+/client/mobile/index.cfm - changed redirect to be a meta tag instead of cflocation. This was to remove any hash anchor in url.
Last Updated: June 1, 2011 (BlogCFC

0 comments on commit 98843cd

Please sign in to comment.