Skip to content

Commit

Permalink
Update docstring
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Jul 23, 2024
1 parent 78a0950 commit 9ec678a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils/next_url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const INVALID_NEXT_URL_PARAMETER_MESSAGE = 'Invalid nextUrl parameter.';
* We require the nextUrl parameter to be an relative url.
*
* Here we validate the nextUrl parameter by checking if it meets the following criteria:
* - nextUrl is the basePath /
* - nextUrl starts with the basePath (/ if no serverBasePath is set)
* - If nextUrl is longer than 2 chars then the second character must be alphabetical or underscore
* - The following characters must be alphanumeric, dash or underscore
* Note: url has been decoded by OpenSearchDashboards.
Expand Down

0 comments on commit 9ec678a

Please sign in to comment.