Method and apparatus of processing invalid user input search information
A method and apparatus of processing a user initiated request for information is disclosed. The method may provide receiving a user initiated request including a uniform resource locator (URL) submitted to a web browser application and receiving a response that the URL is an invalid URL that cannot be resolved to a corresponding webpage. The method may also include blocking a subsequent attempt to transmit the user initiated request as a browser modified search request that includes modifications to the user initiated request.
1. A method, comprising:
receiving a request including a uniform resource locator (URL) at a web browser application;
receiving a response that the URL is an invalid URL;
identifying that the URL includes a hypertext transfer protocol (HTTP) request and does not include a REFERER message; and
blocking a subsequent attempt to transmit the request as a browser modified search request to avoid a redirect of the request based on the identification that the HTTP request does not include the REFERER message and based on a comparison of a pattern of a dialog from the web browser application to a stored predetermined pattern of information.
2. The method of claim 1 , wherein the request is received as input to an address bar portion of the web browser application.
3. The method of claim 1 , wherein receiving the response that the URL is an invalid URL comprises that the URL is an invalid URL that cannot be resolved to a corresponding webpage.
4. The method of claim 3 , wherein receiving a response that the URL is an invalid URL that cannot be resolved to a corresponding webpage comprises receiving a NXDOMAIN HTTP parameter.
5. The method of claim 1 , wherein the browser modified search request includes modifications to the request.
6. The method of claim 1 , wherein the browser modified search request comprises at least part of the request.
7. The method of claim 1 , wherein the request is received as input to a search box portion of a search-enabled web page.
8. An apparatus, comprising:
a receiver configured to:
receive a request including a uniform resource locator (URL) at a web browser application, and
receive a response that the URL is an invalid URL; and
a processor configured to:
identify that the URL includes a hypertext transfer protocol (HTTP) request and does not include a REFERER message, and
block a subsequent attempt to transmit the request as a browser modified search request to avoid a redirect of the request based on the identification that the HTTP request does not include the REFERER message and based on a comparison of a pattern of a dialog from the web browser application to a stored predetermined pattern of information.
9. The apparatus of claim 8 , wherein the request is received as input to an address bar portion of the web browser application.
10. The apparatus of claim 8 , wherein the receipt of the response that the URL is an invalid URL comprises that the URL is an invalid URL that cannot be resolved to a corresponding webpage.
11. The apparatus of claim 10 , wherein the received message that the URL is an invalid URL that cannot be resolved to a corresponding webpage comprises a NXDOMAIN HTTP parameter.
12. The apparatus of claim 8 , wherein the browser modified search request includes modifications to the request.
13. The apparatus of claim 8 , wherein the browser modified search request comprises at least part of the request.
14. The apparatus of claim 8 , wherein the request is received as input to a search box portion of a search-enabled web page.
15. A non-transitory computer readable storage medium comprising instructions that when executed causes a processor to perform:
receiving a request including a uniform resource locator (URL) at a web browser application;
receiving a response that the URL is an invalid URL;
identifying that the URL includes a hypertext transfer protocol (HTTP) request and does not include a REFERER message; and
blocking a subsequent attempt to transmit the request as a browser modified search request to avoid a redirect of the request based on the identification that the HTTP request does not include the REFERER message and based on a comparison of a pattern of a dialog from the web browser application to a stored predetermined pattern of information.
16. The non-transitory computer readable storage medium of claim 15 , wherein the request is received as input to an address bar portion of the web browser application.
17. The non-transitory computer readable storage medium of claim 15 , wherein receiving the response that the URL is an invalid URL comprises that the URL is an invalid URL that cannot be resolved to a corresponding webpage.
18. The non-transitory computer readable storage medium of claim 17 , wherein receiving a response that the URL is an invalid URL that cannot be resolved to a corresponding webpage comprises receiving a NXDOMAIN HTTP parameter.
19. The non-transitory computer readable storage medium of claim 15 , wherein the browser modified search request includes modifications to the request.
20. The non-transitory computer readable storage medium of claim 15 , wherein the browser modified search request comprises at least part of the request.