url lookup prefix/suffix question

9 views
Skip to first unread message

daekpony

unread,
Sep 27, 2009, 2:13:05 PM9/27/09
to Google Safe Browsing API
If I want to test the following url for inclusion in the malware list:

http://a.com?param=1

would I lookup

a.com?param=1

or
a.com/?param=1

?

TQM

unread,
Sep 28, 2009, 11:58:01 AM9/28/09
to Google Safe Browsing API
I would say definitely

a.com/?param=1

as the / after the hostname is IMHO proper notation, which happens to
be shortened by lazy people (and workaround later was provided by
server developers). Another reason why I would go for this one -
making urls canonical makes it clear, that you add trailing / after
the hostname, if it's not already there.

That's just my 0.02 :)
Reply all
Reply to author
Forward
0 new messages