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

Bug: [Apostrophe in directory name fails install downloads] #1317

Open
systemsincode opened this issue Oct 9, 2024 · 0 comments
Open

Bug: [Apostrophe in directory name fails install downloads] #1317

systemsincode opened this issue Oct 9, 2024 · 0 comments
Labels

Comments

@systemsincode
Copy link

systemsincode commented Oct 9, 2024

Bug report
I have an apostrophe ' (hex27) in my Irish surname. Windows makes default directories using the surname so by default %userprofile% has an apostrophe in it. This detail seems to cause either CURL or the SDKMan scripts usage of curl to bork out quoting:
curl failed to open the expected downloaded bin file (that really isn't there), then quotes "curl (23) failed writing received data to disk/application"
However the CURL usage to download SDKMan itself doesn't fail, so unlikely a generic curl issue ,hence raising here first.

To reproduce
Given I have a apostrophe character in my user name on Windows Eg. A'z01 _-.(())
And therefore my user profile directory also contains an apostrophe
When I try to install a distro (I've tried java and Scala)
Then I receive an error
ItsThe'ForSure
Its actually a CURL error quoted.
IF I remove the apostrophe even leaving all the other supported 'special chars'
then it works without issue.
allExcept'

System info

  • Windows 10 22h2 build 19045.4894
  • Git BASH 2.46.2
  • 7zip19.0.0
  • GNU bash, version 5.2.37(1)-release (x86_64-pc-msys)
  • SDKMAN 5.9.1+575
@systemsincode systemsincode changed the title Bug: [Apostrophe in directory name fails downloads] Bug: [Apostrophe in directory name fails install downloads] Oct 9, 2024
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

1 participant