Skip to Main Content
HCL Domino 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

Status Under Consideration
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Jan 31, 2020

Make new Lotus Script Class for secure URL parameter handling against XSS attacks

Make a new Lotus Script class for better handling with web URLs containing the following functions:

 

1.) GetQueryParameter

Returns an URL Parameter of an URL in a clean/secured form regarding XSS attacks.

 

Example usage:

strValue = NewNotesClass.getQueryParameter(docContext.GetItemValue("Query_String")(0), "myparameter")

 

Example URL

...yourdb.nsf/yourform?OpenForm&myparameter=alert('XSS attack')

 

 

2.) URLEncode / URLDecode

Currently there are only ancient formula functions which are poor to use in Lotus Script.

 

Mark Reiser

sirius-net GmbH

  • Attach files