You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Its actually a CURL error quoted.
IF I remove the apostrophe even leaving all the other supported 'special chars'
then it works without issue.
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
The text was updated successfully, but these errors were encountered:
systemsincode
changed the title
Bug: [Apostrophe in directory name fails downloads]
Bug: [Apostrophe in directory name fails install downloads]
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
Its actually a CURL error quoted.
IF I remove the apostrophe even leaving all the other supported 'special chars'
then it works without issue.
System info
The text was updated successfully, but these errors were encountered: