From f2efc228935e4b8540e01806a09a3788bc7ff1ae Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Wed, 26 Oct 2011 20:44:30 +0000 Subject: [PATCH] Alternative designs links now are scheme-aware --- Builder/IISMainHandler/build.txt | 2 +- IISMainHandler/handlers/AbstractGetHandler.cs | 1 + templates/Modern/elems/Header.xslt | 12 ++++++++---- templates/Root.xslt | 3 ++- templates/Rss/elems/Main.xslt | 3 ++- 5 files changed, 14 insertions(+), 7 deletions(-) diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 57659eb..3f00c5a 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1905 \ No newline at end of file +1907 \ No newline at end of file diff --git a/IISMainHandler/handlers/AbstractGetHandler.cs b/IISMainHandler/handlers/AbstractGetHandler.cs index a5f80c8..4067034 100644 --- a/IISMainHandler/handlers/AbstractGetHandler.cs +++ b/IISMainHandler/handlers/AbstractGetHandler.cs @@ -21,6 +21,7 @@ namespace FLocal.IISHandler.handlers { return new XElement[] { new XElement( "url", + new XElement("scheme", context.httprequest.Url.Scheme), new XElement("host", context.httprequest.Url.Host), new XElement("port", context.httprequest.Url.Port) ), diff --git a/templates/Modern/elems/Header.xslt b/templates/Modern/elems/Header.xslt index f4d6026..3d266f6 100644 --- a/templates/Modern/elems/Header.xslt +++ b/templates/Modern/elems/Header.xslt @@ -60,7 +60,8 @@ - https://classic + + ://classic @@ -76,7 +77,8 @@ - https://lite + + ://lite @@ -95,7 +97,8 @@ - https://rss + + ://rss @@ -113,7 +116,8 @@ - https://rss + + ://rss diff --git a/templates/Root.xslt b/templates/Root.xslt index a3d6321..25633bd 100644 --- a/templates/Root.xslt +++ b/templates/Root.xslt @@ -28,7 +28,8 @@ - https:// + + :// : diff --git a/templates/Rss/elems/Main.xslt b/templates/Rss/elems/Main.xslt index ba3ed37..8b0df17 100644 --- a/templates/Rss/elems/Main.xslt +++ b/templates/Rss/elems/Main.xslt @@ -3,7 +3,8 @@ - https:// + + :// :