people.kernel.org: redirect 'read/feed' to 'read/feed/'

Hello,

Thank you for maintaining WriteFreely and hosting people.kernel.org!

I’m not sure where to report this issue: I tried by email before, and people from kernel.org don’t have any control on this, apparently.

Could it be possible to add a redirection from ‘read/feed’ to ‘read/feed/’ (with the trailing /) please?

The reason is that some RSS / ATOM aggregators “normalise” URLs and remove the trailing ‘/’. This is an issue for people.kernel.org:

https://people.kernel.org/read/feed/ → OK, XML content
https://people.kernel.org/read/feed  → KO, HTML content

When looking at the WriteFreely blog, I see a redirection from ‘feed’ to ‘feed/’:

  $ curl -I https://blog.writefreely.org/feed
  HTTP/2 302
  (...)
  location: https://blog.writefreely.org/feed/
  (...)

But not on people.kernel.org:

  $ curl -I https://people.kernel.org/read/feed
  HTTP/2 200
  content-type: text/html; charset=utf-8
  (...)

Could it be possible to do the same please?

Cheers,
Matt

Hi Matt, sorry for missing your email before, and thanks for reporting this! I can definitely fix it. I’ll just need to patch it with the redirect, and include that in the next WriteFreely release.

Will keep you updated here on the progress.

Just opened this PR that should fix the redirect once we deploy that on your instance!

Hi Matt,

Thank you for your reply and fix! No problem, that is not urgent!

I’ll just need to patch it with the redirect, and include that in the next WriteFreely release.

Ah OK, I didn’t know the issue was with WreiteFreely: I thought the HTTP server used for people.kernel.org had to be configured with a redirection. Many thanks for the patch, I just added a small comment there!