Skip to content

Commit ed72b21

Browse files
authored
README: Fix potential security issue (#75)
1 parent c4ceabc commit ed72b21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ catch (DomainException $e) {
6666
// This is thrown if the specified language does not exist
6767

6868
echo "<pre><code>";
69-
echo $code;
69+
echo htmlentities($code);
7070
echo "</code></pre>";
7171
}
7272
```

0 commit comments

Comments
 (0)