mirror of
https://github.com/jpochyla/psst.git
synced 2026-04-27 07:25:52 +03:00
[PR #120] [MERGED] Fix wrong expiration time parsing #434
Labels
No labels
api
bug
build
documentation
duplicate
enhancement
good first issue
help wanted
idea
invalid
linux
lowprio
macos
pull-request
upstream
windows
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/psst#434
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jpochyla/psst/pull/120
Author: @JuliDi
Created: 8/19/2021
Status: ✅ Merged
Merged: 8/20/2021
Merged by: @jpochyla
Base:
master← Head:fix-expiration-time📝 Commits (2)
bcb56dffix wrong expiration time parsingcfd83c2core: Combine URL expiration parsing📊 Changes
1 file changed (+16 additions, -5 deletions)
View changed files
📝
psst-core/src/cdn.rs(+16 -5)📄 Description
The parsing of the expiration time seems to be wrong (probably outdated?), giving me a
failed to parse expiration time from URL ...warning.Not sure whether these server responses can differ across operating systems or so. At least building from master on macOS 10.15 I get a response of the form
.../...a35817ca410?__token__=exp=1629466995~hmac=df348....With the changes in this PR, the issue seems fixed – the log says that a new token has been requested because it was outdated.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.