When I add static files to the WebContent folder of an NSF (e.g.the files of a React or Office add-in build), I can access it with the following URLs:
http://www2.mindoo.de/test/webcontent.nsf/NotesCanDoThatToo.png
and
http://www2.mindoo.de/test/webcontent.nsf/NotesCanDoThatToo.png?Open
So the Domino HTTP server seems to add the missing "?Open" when the query string is empty.
I can add my own query string arguments like this:
http://www2.mindoo.de/test/webcontent.nsf/NotesCanDoThatToo.png?Open&a=b
e.g. to read them from JavaScript on a web page.
But unfortunately, when "?Open" is missing and I add query string arguments, the HTTP server throws an error:
http://www2.mindoo.de/test/webcontent.nsf/NotesCanDoThatToo.png?a=b
Could this please be fixed so that the HTTP server adds the "?Open" command as well in case there are other query string args?
Our use case is that we want to put the static files of an Office add-in into an NSF. When Outlook opens the index.html URL found in the manifest.xml, it automatically adds query arguments to tell the frontend code about the current environment (e.g. desktop / web / mobile) which leads to an error.
I know that there are other URL commands like ?OpenImageResource, so the fix would need to cover this as well, e.g. by parsing the query string arguments and comparing them to a list of known URL open commands.
Karsten Lehmann, Mindoo GmbH
Unfortunately, this issue still exists in Domino 14.
Just to add another use case: Many third party themes put version tags inside their CSS files to include font files. These are not working, unless we fix all CSS files which makes it difficult to make future updates.