Search code examples
lotus-noteslotus-dominolotus-formula

@UrlQueryString not working for http://www.myserver.com/foo.nsf/&L=EN


I'm creating a custom General Error Message (in domcfg that will replace the standard HTTP404) I want to get the parameters on the URL, so I use @UrlQueryString. It works fine expect for URL with the following syntax:
http://www.myserver.com/foo.nsf/&L=EN
For this URL the @UrlQueryString returns and empty string.

QUESTION: How Can I get the parameter of the URL in a bad formed URL ?


Solution

  • The server variable PATH_INFO will tell you what the current URL is.

    See more info on server variables here: http://www.angelfire.com/ult/tipslotusnotes/Special%20Fields,%20Reserved%20Fields%20and%20Special%20Design%20Elements.htm