jenny icon indicating copy to clipboard operation
jenny copied to clipboard

Malformed url in tag feeds

Open skiserv opened this issue 2 years ago • 1 comments

A friend of mine spotted an issue in the feed for a tag. The item link looks like http://manilafunctional.com./../post/python-list-comprehensions.html (comes from your website ). If the ./../ can be supported by webbrowsers (it works in firefox in my case), it do not work for some feed readers

skiserv avatar Jan 16 '23 15:01 skiserv

I spent some time to fix it, but cannot achieve to something clean fully working with relatives paths

The main fix is to remove the url prefix here https://github.com/hmngwy/jenny/blob/5cba30df6cf758bda92cf2135fac5b0fb4edd96c/share/jenny/lib/components.sh#L57 And really pass the url prefix when building pages, not another different fixed value. But I didn't get something working everywhere, except using absolute path to articles (/post/mypost_name.html) rather than relative path.

skiserv avatar Feb 01 '23 15:02 skiserv