Properly encode URL for the search engine.