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

Download link with too many characters causes error #5214

Closed
Vzz1c opened this issue Oct 21, 2022 · 4 comments
Closed

Download link with too many characters causes error #5214

Vzz1c opened this issue Oct 21, 2022 · 4 comments
Labels

Comments

@Vzz1c
Copy link

Vzz1c commented Oct 21, 2022

Bug Report

Current Behavior

Problems when downloading due to long link names, file names longer than 260 characters, or directory names longer than 246 characters

Expected Behavior

When the link name is too long, it should be intercepted

Additional context/output

image_16

Possible Solution

Instead of naming the downloaded file in the form of [current filename + linked filename], provide a json field for downloading customizable filenames, or, when the linked name is too long, just use file + version, like this:
xxxx#1.2.3_dl.7z

System details

Windows version: [e.g. 7, 8, 10, 11]
Windows 21H2
OS architecture: [e.g. 32bit, 64bit, arm64]
64bit
PowerShell version: [output of "$($PSVersionTable.PSVersion)"]
5.1.19041.1682
Additional software: [(optional) e.g. ConEmu, Git]

Scoop Configuration

{
    "proxy":  "127.0.0.1:10808",
    "default-architecture":  "64bit",
    "debug":  true,
    "last_update":  "2022-10-20T08:54:45.2933644+08:00",
    "scoop_branch":  "master",
    "scoop_repo":  "https://github.com/ScoopInstaller/Scoop"
}
@Vzz1c Vzz1c added the bug label Oct 21, 2022
@Vzz1c Vzz1c closed this as completed Oct 21, 2022
@Vzz1c Vzz1c reopened this Oct 21, 2022
@niheaven
Copy link
Member

Duplicate with #4327

@Vzz1c
Copy link
Author

Vzz1c commented Oct 21, 2022

与#43​​27重复

When installing and downloading with install, it works fine, but when it is updated automatically, the file is too long when it needs to download the checksum hash.
image_17

@Vzz1c
Copy link
Author

Vzz1c commented Oct 22, 2022

与#43​​27重复

image
checkver.ps1

@Vzz1c
Copy link
Author

Vzz1c commented Oct 22, 2022

与#43​​27重复

用install安装和下载的时候,运行正常,但是自动更新的时候,文件太长,需要下载校验和hash。 image_17

Actually I got it wrong and can't download

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants