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

Scala version announcements permalink are missing the trailing slash since 2.12.3 #1732

Closed
fsalvi opened this issue Jan 14, 2025 · 4 comments
Assignees

Comments

@fsalvi
Copy link
Contributor

fsalvi commented Jan 14, 2025

Since 2017, I guess by mistake, the permalink in the scala announcements is missing the trailing slash.
Thus, the URL for 2.12.1 was:
https://www.scala-lang.org/news/2.12.1/

and since then, it's:
https://www.scala-lang.org/news/2.12.3

You can see the list here:
https://www.scala-lang.org/news/

So, now it's just a file name without any extension. The web server serves the file with no content-type instead of "Content-Type: text/html", because it doesn't know which kind of file it could be.

I would suggest to just add the missing trailing slash in these permalinks. As the web server will automatically redirects to the directory content, the previous URI will still be valid, so no risk to break any existing link.

@SethTisue SethTisue self-assigned this Jan 14, 2025
@SethTisue
Copy link
Member

Thanks for the heads up. I'll take care of it after we announce 2.13.16.

SethTisue added a commit to scala/make-release-notes that referenced this issue Jan 16, 2025
SethTisue added a commit to SethTisue/scala-lang that referenced this issue Jan 16, 2025
@SethTisue
Copy link
Member

for new Scala 2 releases, scala/make-release-notes@b37441d should fix it

to fix existing releases, I've submitted #1735

@WojciechMazur is there something you can tweak so that future Scala 3 releases have the right permalink information?

@WojciechMazur
Copy link
Contributor

Sure, I'll adjust it, I was not aware of this problem

@fsalvi
Copy link
Contributor Author

fsalvi commented Jan 17, 2025

Thanks!

@fsalvi fsalvi closed this as completed Jan 17, 2025
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

No branches or pull requests

3 participants