]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
Compose relative URLs in RSS feeds correctly
authorSimon McVittie <smcv@debian.org>
Thu, 21 Jan 2016 08:40:14 +0000 (08:40 +0000)
committerSimon McVittie <smcv@debian.org>
Thu, 21 Jan 2016 08:40:14 +0000 (08:40 +0000)
commit7aca0d40a359e0b9b31b7dc9327dba76da51c85c
tree37dc9e2aed5882cea922e1a13f6a920e53304253
parent816c856a46dd2df6b763a72dd512849c5396e61d
Compose relative URLs in RSS feeds correctly

If the relative link from the (page generating the) RSS to the target
would start with "./" or "../", just concatenating it with the URL to
the directory containing the RSS is not sufficient. Go via
URI::new_abs to fix this.
IkiWiki/Plugin/inline.pm
doc/bugs/rss_output_relative_links.mdwn
t/inline.t