Skip to content

Commit

Permalink
Land #2217 - Fix browser detection
Browse files Browse the repository at this point in the history
  • Loading branch information
wchen-r7 committed Aug 13, 2013
2 parents 568181d + bc9a26d commit 1a34b74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def on_request_uri(cli, request)
return
end

if agent !~ /Firefox\/17/ or agent !~ /Firefox\/21/
if agent !~ /Firefox\/17/ and agent !~ /Firefox\/21/
print_error("Browser not supported, sending 404: #{agent}")
send_not_found(cli)
return
Expand Down

0 comments on commit 1a34b74

Please sign in to comment.