Skip to content

Commit

Permalink
Merge pull request #25 from snyk/fix/url
Browse files Browse the repository at this point in the history
fix: fix 'Illegal characters in path' issue
  • Loading branch information
PeterSchafer authored Oct 11, 2024
2 parents f043b41 + 651f009 commit dacf8ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion render.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_latest_release()
uri = URI.parse(url)
new_query_ar = URI.decode_www_form(uri.query || '') << ["utm_source", "SCOOP"]
uri.query = URI.encode_www_form(new_query_ar)
url_with_utm = uri.to_s
url_with_utm = uri.to_s + "#/snyk-win.exe"

sha256 = obj["assets"][bin]["sha256"].split.first

Expand Down
2 changes: 1 addition & 1 deletion snyk.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "1.1293.1",
"url": "https://downloads.snyk.io/cli/v1.1293.1/snyk-win.exe?utm_source=SCOOP",
"url": "https://downloads.snyk.io/cli/v1.1293.1/snyk-win.exe?utm_source=SCOOP#/snyk-win.exe",
"bin": [
[
"snyk-win.exe",
Expand Down

0 comments on commit dacf8ac

Please sign in to comment.