Why adding "nf=1" to iframe?

3 views
Skip to first unread message

Cameron

unread,
May 3, 2009, 5:08:24 AM5/3/09
to webanywhere-dev
There is such line in "wawp.php":
$attrs['src'] = complete_url($attrs['src']) .
'&nf=1';

I don't know why "nf=1" is added. And why don't we need to check
whether "?" exists.

An error will trigger in English version of Google. There is an iframe
with src="" in index of Google. WAWP will replace "" with "&nf=1"
which make it attempt to access "http://www.google.com/&nf=1". This
trigger an network error.

This error can be captured by Firebug.

Regrads.
Cameron
Reply all
Reply to author
Forward
0 new messages