#dominoforever | Product Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Fix HTTP error when opening static files with query string and no ?Open command

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

  • Guest
  • Aug 26 2022
  • Assessment
  • Attach files
  • Guest commented
    1 Sep 02:17pm

    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.