This is because the protocol file:///used by Windows to access local files does not support parameter values. This is because it is file:///not a protocol (for example, the HTTP protocol uses it GET /.../?param=value HTTP/1.1) at all, but it is an interface used internally to request files.
I recommend using #instead ?, since anchors (this is called #) are supported in both HTTP and the file protocol.
source
share