I see a large number of errors in our log files related to using the dotted "./" in the href attribute of the anchor tag. This happens only when the hit comes from the java client.
HTML DOCUMENT
<a href="./myPage.php">Link to a dot-slash file</a>
ACCESS ENTRANCE IN LOGISTICS
my.domain.com 123.456.789.012 - - [26/Jan/2010:14:17:15 -0500] "GET /legal/./myPage.php HTTP/1.1" 200 5295 "-" "Java/1.6.0_14"
ERROR ENTRY ERROR
[Tue Jan 26 14:17:15 2010] [error] [client 123.456.789.012] request failed: erroneous characters after protocol string: GET /legal/\\" + gaJsHost + \\"google-analytics.com/ga.js HTTP/1.1
Is it better to use or not use dot slash?
source share