Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
2e93feca
Commit
2e93feca
authored
May 07, 2026
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eget: fall back to original URL for signed CDN redirects with UUID paths
parent
e1f40cce
Pipeline
#17517
passed with stage
in 19 seconds
Changes
1
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
tools_eget
bin/tools_eget
+3
-1
No files found.
bin/tools_eget
View file @
2e93feca
...
@@ -2103,8 +2103,10 @@ url_get_filename()
...
@@ -2103,8 +2103,10 @@ url_get_filename()
fi
fi
local
loc
=
"
$(
url_get_raw_real_url
"
$URL
"
)
"
local
loc
=
"
$(
url_get_raw_real_url
"
$URL
"
)
"
# signed CDN redirects (e.g. GitHub release assets) put a UUID in the path
# and the real filename in a query parameter — fall back to original URL
if
is_strange_url
"
$loc
"
;
then
if
is_strange_url
"
$loc
"
;
then
loc
=
"
$
(
echo
"
$loc
"
|
sed
-e
"s|
\?
.*||"
)
"
loc
=
"
$
URL
"
fi
fi
# hack for redirect to the main page (root URL with no filename)
# hack for redirect to the main page (root URL with no filename)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment