Permalink
Browse files

Added special case to echo back client IP address if an empty string …

…is passed to ip2coordinates
  • Loading branch information...
petewarden committed Feb 13, 2012
1 parent 4896c88 commit d980505a013e97234db6852f37b06a320c787e85
Showing with 0 additions and 1 deletion.
  1. +0 −1 dstk_server.rb
View
@@ -987,7 +987,6 @@ def boilerpipe(input_html)
callback = params[:callback]
ips_string = params[:ips]
- $stderr.puts "ips_string='#{ips_string}'"
if !ips_string or ips_string == '""'
# This is a special case. If you pass in an empty string, use the IP address of the requesting
# client, since javascript callers may not have access to it themselves.

0 comments on commit d980505

Please sign in to comment.