Permalink
Browse files

Merge pull request #1 from javiertoledo/master

Fix for requests that doesn't contain an HTTP_USER_AGENT
  • Loading branch information...
2 parents 382514f + 65209b1 commit 91c6e9472d7345c328a674dd5e31937c2bf2b4bb @grimen committed May 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rack/iframe.rb
View
@@ -38,7 +38,7 @@ def call(env)
protected
def user_agent(env)
- env['HTTP_USER_AGENT']
+ env['HTTP_USER_AGENT'] || []
end
def set_invalid_etag!(env)

0 comments on commit 91c6e94

Please sign in to comment.