How does new download page get the actual .tar.xz download name?

About this bulletin board and the Pale Moon website

Moderators: FranklinDM, Lootyhoof

User avatar
sblanco
Moongazer
Moongazer
Posts: 8
Joined: 2022-06-08, 17:43

How does new download page get the actual .tar.xz download name?

Unread post by sblanco » 2023-03-16, 16:01

Hope it's not very imprudent to ask...

I just read that downloads page changed recently.
Now for, say, downloading Linux GTK3 version, the URL is 'https://www.palemoon.org/download.php?m ... =linuxgtk3'; and similar for all other versions. And when clicking the URL one gets the "transformed" *real* filename *.tar.xz.

How does first URL transforms into latest corresponding *.tar.xz?

Thanks.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35478
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: How does new download page get the actual .tar.xz download name?

Unread post by Moonchild » 2023-03-16, 16:17

It happens in the server-side php script.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked