Remove the filename from BASE_HREF (used for <base />), fixes bug#66138
Make this consistently html5 looking