We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a7c6f commit 1689ea3Copy full SHA for 1689ea3
web/edit/file/index.php
@@ -74,7 +74,7 @@
74
<input type="submit" name="save" value="Save" class="save" />
75
76
77
-<textarea name="contents" class="editor" id="editor" rows="4" style="display:none;width: 100%; height: 100%;"><?php echo $content ?></textarea>
+<textarea name="contents" class="editor" id="editor" rows="4" style="display:none;width: 100%; height: 100%;"><?=htmlentities($content)?></textarea>
78
79
</form>
80
0 commit comments