Third, proper fix for security exception
This commit is contained in:
@@ -553,7 +553,7 @@
|
||||
|
||||
|
||||
function setLanguage(cultureCode) {
|
||||
document.location = document.location + "&Culture=" + cultureCode;
|
||||
document.location = document.location + "?Culture=" + cultureCode;
|
||||
}
|
||||
|
||||
var suppressChecks = false;
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace Swarmops.Frontend.Pages.Public
|
||||
if (Request["Culture"] != null)
|
||||
{
|
||||
Response.SetCookie(new HttpCookie("PreferredCulture", Request["Culture"]));
|
||||
Response.Redirect(Request.RawUrl.Substring (0, Request.RawUrl.IndexOf ("&Culture=")), true);
|
||||
Response.Redirect(Request.RawUrl.Substring (0, Request.RawUrl.IndexOf ("?Culture=")), true);
|
||||
}
|
||||
|
||||
// Find what organization we're supposed to sign up to
|
||||
|
||||
@@ -4,8 +4,6 @@
|
||||
-->
|
||||
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
|
||||
<system.web>
|
||||
<httpRuntime requestPathInvalidCharacters="" requestValidationMode="2.0" />
|
||||
<pages validateRequest="false" />
|
||||
<authorization>
|
||||
<allow users="*" />
|
||||
</authorization>
|
||||
|
||||
Reference in New Issue
Block a user