cookieless 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/cookieless.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
data/lib/cookieless.rb
CHANGED
@@ -63,7 +63,7 @@ module Rack
|
|
63
63
|
|
64
64
|
def convert_url(u, session_id)
|
65
65
|
u = URI.parse(u)
|
66
|
-
u.query = Rack::Utils.build_query(Rack::Utils.parse_query(u.query).merge({session_key => session_id}))
|
66
|
+
u.query = Rack::Utils.build_query(Rack::Utils.parse_query(u.query).merge({session_key => session_id})) if u.scheme.blank? || u.scheme.to_s =~ /http/
|
67
67
|
u.to_s
|
68
68
|
end
|
69
69
|
end
|
metadata
CHANGED