Using the whole url with all get parameters

Signed-off-by: Umair Khan <omerjerk@gmail.com>

This code isn't causing any bug but we should use the whole URL instead of just import.php while executing the statement from querywindow.