diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-12-05 17:59:40 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-12-05 17:59:40 -0800 |
commit | 3a47f23e74a681339f74b21b94241dcfe9542472 (patch) | |
tree | d29223babb471bbc1a2c42937aa917fab1035236 /lib/clogger/pure.rb | |
parent | ba72b12030864a05fc88bc94a3b699971cc70b0a (diff) | |
download | clogger-3a47f23e74a681339f74b21b94241dcfe9542472.tar.gz |
These values are untrusted, so if any client sends them to us we must escape them.
Diffstat (limited to 'lib/clogger/pure.rb')
-rw-r--r-- | lib/clogger/pure.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clogger/pure.rb b/lib/clogger/pure.rb index 8c3d3dc..24392e7 100644 --- a/lib/clogger/pure.rb +++ b/lib/clogger/pure.rb @@ -177,7 +177,7 @@ private t = Time.now time_format(t.to_i, t.usec, op[1], op[2]) when OP_COOKIE - (env['rack.request.cookie_hash'][op[1]] rescue "-") || "-" + (byte_xs(env['rack.request.cookie_hash'][op[1]]) rescue "-") || "-" else raise "EDOOFUS #{op.inspect}" end |