Skip to content

Commit d13682b

Browse files
committed
Fix a possible XSS
1 parent 378df0a commit d13682b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

www/make_subset.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<link rel="stylesheet" href="css/style.css" />
6262
</head>
6363
<body>
64-
<h1><?php echo $name; ?></h1>
64+
<h1><?php echo htmlentities($name); ?></h1>
6565
<form name="make-subset" method="post" action="?fontfile=<?php echo $fontfile; ?>">
6666
<label>
6767
Insert the text from which you want the glyphs in the subsetted font: <br />

0 commit comments

Comments
 (0)