We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1169fe9 commit a4d525dCopy full SHA for a4d525d
dashboards-reports/server/utils/validationHelper.ts
@@ -57,7 +57,7 @@ export const regexDuration =
57
export const regexEmailAddress = /\S+@\S+\.\S+/;
58
export const regexReportName = /^[\w\-\s\(\)\[\]\,\_\-+]+$/;
59
export const regexRelativeUrl =
60
- /^\/(_dashboards\/app|app)\/(dashboards|visualize|discover|notebooks-dashboards\?view=output_only)(\?security_tenant=.+|)#\/(view\/|edit\/)?[^\/]+$/;
+ /^\/(_dashboards\/app|app)\/(dashboards|visualize|discover|notebooks-dashboards\?view=output_only)([?&]security_tenant=.+|)#\/(view\/|edit\/)?[^\/]+$/;
61
62
export const validateReport = async (
63
client: ILegacyScopedClusterClient,
0 commit comments