File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
dashboards-reports/server/utils Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ export const regexDuration =
56
56
/ ^ ( - ? ) P (? = \d | T \d ) (?: ( \d + ) Y ) ? (?: ( \d + ) M ) ? (?: ( \d + ) ( [ D W ] ) ) ? (?: T (?: ( \d + ) H ) ? (?: ( \d + ) M ) ? (?: ( \d + (?: \. \d + ) ? ) S ) ? ) ? $ / ;
57
57
export const regexEmailAddress = / \S + @ \S + \. \S + / ;
58
58
export const regexReportName = / ^ [ \w \- \s \( \) \[ \] \, \_ \- + ] + $ / ;
59
- export const regexRelativeUrl =
60
- / ^ \/ ( _ d a s h b o a r d s \/ a p p | a p p ) \/ ( d a s h b o a r d s | v i s u a l i z e | d i s c o v e r | n o t e b o o k s - d a s h b o a r d s \? v i e w = o u t p u t _ o n l y ) ( [ ? & ] s e c u r i t y _ t e n a n t = .+ | ) # \/ ( v i e w \/ | e d i t \/ ) ? [ ^ \/ ] + $ / ;
59
+ export const regexRelativeUrl = / ^ \/ ( _ p l u g i n \/ k i b a n a \/ | _ d a s h b o a r d s \/ ) ? a p p \/ ( d a s h b o a r d s | v i s u a l i z e | d i s c o v e r | n o t e b o o k s - d a s h b o a r d s \? v i e w = o u t p u t _ o n l y ) ( [ ? & ] s e c u r i t y _ t e n a n t = .+ | ) # \/ ( v i e w \/ | e d i t \/ ) ? [ ^ \/ ] + $ / ;
61
60
62
61
export const validateReport = async (
63
62
client : ILegacyScopedClusterClient ,
You can’t perform that action at this time.
0 commit comments