[haiku-commits] Re: haiku: hrev49470 - src/apps/webpositive

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 28 Jul 2015 19:59:49 +0200

On Tue, Jul 28, 2015 at 01:56:29PM -0400, gus knight wrote:

On Tue, Jul 28, 2015 at 1:45 PM, Adrien Destugues <pulkomandy@xxxxxxxxx>
Not quite, it will result in "http://google.com/search?q="; which is not
completely right. I would at least remove the query part from the URL,
and that is only a best guess.

All the search engines I tested accept a null query as no search at
all and show the homepage. We have no way of knowing if there is a
query part or not (I seem to recall some search engines don't have
it?) so I think this is an OK thing to do.

the BUrl class knows if there is a query part and can easily remove it.


Other related posts: