File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 3
3
* Copyright © Magento, Inc. All rights reserved.
4
4
* See COPYING.txt for license details.
5
5
*/
6
+
7
+ // phpcs:ignoreFile
6
8
?>
7
9
<!doctype html>
8
10
<html xmlns="http://www.w3.org/1999/xhtml" >
9
11
<head>
10
12
<title><?= $ this ->pageTitle ?> </title>
11
- <base href="<?= $ this ->getViewFileUrl () ?> " />
13
+ <base href="<?= $ this ->escaper -> escapeHtmlAttr ( $ this -> getViewFileUrl () ) ?> " />
12
14
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
13
15
<meta name="robots" content="*"/>
14
16
<link rel="stylesheet" href="css/styles.css" type="text/css" />
Original file line number Diff line number Diff line change @@ -595,7 +595,7 @@ private function redirectToBaseUrl()
595
595
*/
596
596
private function isReportIdValid (string $ reportId ): bool
597
597
{
598
- return (bool )preg_match ('/[a-fA-F0-9]{64}/ ' , $ reportId );
598
+ return (bool )preg_match ('/^ [a-fA-F0-9]{64}$ / ' , $ reportId );
599
599
}
600
600
601
601
/**
You can’t perform that action at this time.
0 commit comments