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 33 * Copyright © Magento, Inc. All rights reserved.
44 * See COPYING.txt for license details.
55 */
6+
7+ // phpcs:ignoreFile
68?>
79<!doctype html>
810<html xmlns="http://www.w3.org/1999/xhtml" >
911<head>
1012 <title><?= $ this ->pageTitle ?> </title>
11- <base href="<?= $ this ->getViewFileUrl () ?> " />
13+ <base href="<?= $ this ->escaper -> escapeHtmlAttr ( $ this -> getViewFileUrl () ) ?> " />
1214 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
1315 <meta name="robots" content="*"/>
1416 <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()
595595 */
596596 private function isReportIdValid (string $ reportId ): bool
597597 {
598- return (bool )preg_match ('/[a-fA-F0-9]{64}/ ' , $ reportId );
598+ return (bool )preg_match ('/^ [a-fA-F0-9]{64}$ / ' , $ reportId );
599599 }
600600
601601 /**
You can’t perform that action at this time.
0 commit comments