Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{filename} from URL leaks from summary of the very first post #5

Closed
arturlangner opened this issue Dec 9, 2023 · 4 comments · Fixed by getpelican/pelican#3280
Closed

Comments

@arturlangner
Copy link

arturlangner commented Dec 9, 2023

Thank you a lot for this nice plugin.

Internal URLs in the very first post summary (on the home page) contain raw {filename} and the link is broken. I am not sure if it is a bug in the plugin or in Pelican itself.

The URLs are okay after opening the full article page. The URLs are okay in summaries further down on the home page.

It seems like the internal URL in the affected summary is not transformed from Markdown in any way and looks like <a href="{filename}/articles/2021/somearticle.md">design</a>.

RSS feed is also affected.

I am using minchin.pelican.plugins.summary 1.2.0 via pip.

Affected site example

https://m0agx.eu

  • View source and Ctrl+F {filename} for a broken internal link.
  • View source and Ctrl+F din-rail for a working internal link.
@arturlangner
Copy link
Author

Bug is in Pelican itself. getpelican/pelican#3265

@MinchinWeb
Copy link
Owner

@arturlangner In the end, how did you fix this? Did you upgrade Pelican version (or something else)?

@MinchinWeb
Copy link
Owner

c.f. #4

MinchinWeb added a commit that referenced this issue Jan 22, 2024
@MinchinWeb
Copy link
Owner

The current version of Pelican is 4.9.1, and I expect the fix to be in the next version released.

MinchinWeb added a commit that referenced this issue Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants