Skip to content

Commit 0541f68

Browse files
authored
use CGI for ruby 3 (#25)
1 parent 9d1c74e commit 0541f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
login_url = "#{base_url}/login"
44
next_url = "#{base_url}/#{jupyter_api}"
55

6-
full_url="#{login_url}?next=#{URI.encode(next_url)}"
6+
full_url="#{login_url}?next=#{CGI.escape(next_url)}"
77
form_id = "juypyter_form#{login_url.gsub('/', '_')}"
88
%>
99

0 commit comments

Comments
 (0)