looking up a domain twice

Gábor Mayer - June 12, 2009 - 18:21
Project:Whois lookup
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

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) {

#1

helmo - December 4, 2009 - 11:55

You 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.

 
 

Drupal is a registered trademark of Dries Buytaert.