Page 1 of 1

Atom feed self URL will link to http on https webpages

Posted: Sun Apr 12, 2015 2:03 pm
by hanno
Serendipity atom feeds contain a link to themselves (link rel="self"). These links are hardcoded as http URLs, even on https only webpages. This causes a warning in the W3C Feed validator.

I've attached a simplepatch that will - like in other similar places in s9y - check the $_SERVER variable for the used protocol and use that. Please apply.

Re: Atom feed self URL will link to http on https webpages

Posted: Fri Apr 17, 2015 3:37 pm
by garvinhicking
Thanks a lot, merged to github!