Bugfix - trying pretty URLs again

This commit is contained in:
Rick Falkvinge
2014-12-21 04:30:00 +01:00
parent 075bbcfa7d
commit 2d53f3d3ca
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ namespace Swarmops.Controls.Base
{
output.Write ("<li class=\"{0}\">", menuItem.Type);
string localizedText = "RESOURCE NOT FOUND";
string prettyNavUrl = menuItem.NavigateUrl;
string prettyNavUrl = menuItem.NavigateUrl ?? string.Empty;
if (!Debugger.IsAttached)
{
+1
View File
@@ -42,6 +42,7 @@
<add key="aspnet:UseLegacyEncryption" value="true"/>
<add key="aspnet:UseLegacyMachineKeyEncryption" value="true"/>
<add key="aspnet:UseLegacyFormsAuthenticationTicketCompatibility" value="true"/>
<add key="MonoServerDefaultIndexFiles" value="/"/>
</appSettings>
<system.webServer>
<modules runAllManagedModulesForAllRequests="true"/>