Closed (fixed)
Project:
Whois lookup
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Jun 2009 at 18:21 UTC
Updated:
25 Dec 2009 at 09:20 UTC
if we doesn't use ajax then we see two lookups when press the lookup button. only from the second lookup.
$result = $whois->Lookup($address);
error_log($address);
switch($option) {
Comments
Comment #1
helmo commentedYou probably only see this after you lookup a second domain. It is due to the way this module redirects a form POST to a GET request like /drupal/whois/example.com
I'm not sure why this method was originally chosen, but it might be something to look into.
Comment #2
helmo commentedCommitted a change to separate the ajax handling from the regular page, which should prevent this duplication from happening.