bishop335 / subtext

Automatically exported from code.google.com/p/subtext
0 stars 0 forks source link

Add switch to generate all urls with https #240

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've recently decided to switch my site to HTTPS only, employing ISA
Server to redirect all requests from HTTP to HTTPS. The communication
between ISA-Server and Web-Server is only via HTTP.

No I've realized SubText 2.1.0.5 has major problems with this because
the rsd.xml.ashx returns a URL pointing to HTTP://myserver instead of
HTTPS. This in turn kills Live Writer.

Is there anything I can do (read: configure in SubText) to change
this? Yes, I've read the source code and it doesn't look like it. And
yes, I'm still looking into going HTTPS till the web-server to
circumvent this issue.

Also, while checking the relevant pieces in SubText 2.5, I notices
that v2.5 actually hard-codes the schema to HTTP, making it actually
impossible to place SubText on an HTTPS-only server.

Original issue reported on code.google.com by simone.chiaretta on 20 Jul 2010 at 6:10

GoogleCodeExporter commented 9 years ago
To follow up, since Simone was so nice to create an issue from my groups-post.

With SubText 2.1, it works if you switch the DMZ to HTTPS completely, because 
the all relevant parts appear to be using the Scheme from the Request. There 
are still some portions of SubText that always generate links to HTTP, such as 
the SubText.Web.RssPage class used in the MainFeed.aspx. But they don't post a 
problem for me right now.

With SubText 2.5, as mentioned, this wouldn't work because Live-Writer (and I'm 
assuming other authoring tools as well) would stumble over the rsd.xml.ashx, 
the linking of images, etc. Therefor, making SubText dynamically (or via 
configuration) aware or HTTPS scenarios would be really appreciated. 
Especially, since otherwise I would have to stay with 2.1 indefinitely.

Michael

Original comment by michael....@rubicon.eu on 22 Jul 2010 at 5:45