borowiak / pwa-technologies

Automatically exported from code.google.com/p/pwa-technologies
0 stars 0 forks source link

File extension misinterpreted as url/tld #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
For instance, searching for an image:
http://arquivo.pt/search.jsp?query=type%3Ajpeg+mcd102g.jpg&hitsPerPage=10&dateSt
art=01%2F01%2F1996&dateEnd=01%2F12%2F2009

the ".jpg" extension is misinterpreted as a tld and, therefore, "mcd102g.jpg" 
as a URL.

This doesn't happen if you remove the "type:jpeg" operator:
http://arquivo.pt/search.jsp?query=mcd102g.jpg&hitsPerPage=10&dateStart=01%2F01%
2F1996&dateEnd=01%2F12%2F2009

Original issue reported on code.google.com by devel.da...@vcruz.net on 1 Aug 2012 at 11:08

GoogleCodeExporter commented 9 years ago
Solving this issue should also consider the handling of custom TLD and 
internationalized TLD.

Original comment by devel.da...@vcruz.net on 1 Aug 2012 at 11:15