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.
Atom feed self URL will link to http on https webpages
Atom feed self URL will link to http on https webpages
- Attachments
-
- serendipity-2.0.1-fix-feed-https-url.txt
- Patch to use correct http/https URL
- (515 Bytes) Downloaded 333 times
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Atom feed self URL will link to http on https webpages
Thanks a lot, merged to github!
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/