Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 6603eaa

Browse files
committed
Force UTF-8 encoding on service parameter
1 parent 23b005a commit 6603eaa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app/processors/casino/processor_concern/service_tickets.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def acquire_service_ticket(ticket_granting_ticket, service, credentials_supplied
2727
end
2828

2929
def clean_service_url(dirty_service)
30+
dirty_service = dirty_service.force_encoding('UTF-8')
3031
return dirty_service if dirty_service.blank?
3132
service_uri = Addressable::URI.parse dirty_service
3233
unless service_uri.query_values.nil?

0 commit comments

Comments
 (0)