fix(115): fix capacity display and CDN 403 errors#2510
Merged
PIKACHUIM merged 1 commit intoMay 25, 2026
Conversation
- Fix OpenListTeam#2343: update 115driver to v1.3.3 to handle float size values - Fix OpenListTeam#2349, OpenListTeam#2356, OpenListTeam#2502: use base.UserAgent as fallback when User-Agent header is empty The 115 CDN returns 403 "no cookie value" when the User-Agent header is empty or doesn't match the cookie. This fix ensures a consistent browser User-Agent is used for download link generation.
PIKACHUIM
approved these changes
May 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Changes
drivers/115/driver.gobasepackagebase.UserAgentwhenargs.Header.Get("User-Agent")is emptygo.mod&go.sumgithub.com/SheltonZhu/115driverfrom v1.2.3 to v1.3.3Root Cause
The 115 CDN API returns 403 with error message "no cookie value" when:
This fix ensures a consistent browser User-Agent is used for both download link generation and subsequent CDN requests.
Test plan