Skip to content

Commit

Permalink
Merge pull request #435 from jlsalmon/patch-2
Browse files Browse the repository at this point in the history
fix: don't attempt to append to frozen string
  • Loading branch information
Paul Niezborala authored Jan 4, 2023
2 parents 0c97bb4 + 2a056ba commit 6263c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/u3d/unity_versions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def fetch_cookie
when Net::HTTPRedirection
# A session must be opened with the server before accessing forum
res = nil
cookie_str = ''
cookie_str = +''
# Store the name and value of the cookies returned by the server
response['set-cookie'].gsub(/\s+/, '').split(',').each do |c|
cookie_str << ("#{c.split(';', 2)[0]}; ")
Expand Down

0 comments on commit 6263c23

Please sign in to comment.