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
I have the case where Azure DevOps project, SSH-style URL fails if username contains upper case characters.
While changing characters to lower case seems to work fine, Azure DevOps generates upper case characters in the URL, so it's URLs fail when using this library.
/projectpath/node_modules/parse-url/dist/index.js:302
throw err
^
Error: URL parsing failed.
at throwErr (/projectpath/node_modules/parse-url/dist/index.js:300:21)
at parseUrl (/projectpath/node_modules/parse-url/dist/index.js:337:13)
at Object.<anonymous> (/projectpath/urlparse.js:4:13)
at Module._compile (node:internal/modules/cjs/loader:1165:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
at Module.load (node:internal/modules/cjs/loader:1043:32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47 {
subject_url: 'OrgName@vs-ssh.visualstudio.com:v3/OrgName/ProjectName/RepositoryName'
}
The text was updated successfully, but these errors were encountered:
Srokap
changed the title
parseUrl fails if username contains upper case characters
parseUrl fails if username contains upper case characters in git URLs
Mar 26, 2024
I have the case where Azure DevOps project, SSH-style URL fails if username contains upper case characters.
While changing characters to lower case seems to work fine, Azure DevOps generates upper case characters in the URL, so it's URLs fail when using this library.
Examples follow:
Failing version
Result:
Successful version
Result:
The text was updated successfully, but these errors were encountered: