htmlentities -> htmlspecialchars
This commit is contained in:
@@ -89,7 +89,7 @@ $url=$_POST ['url'];
|
||||
<input type=submit value=Submit name=submit>
|
||||
<p align=center><font size=4 color=#333399>Add a Problem</font></p>
|
||||
<input type="hidden" name=problem_id value="New Problem">
|
||||
<input type="hidden" name="url" value="<?php echo htmlentities($url)?>">
|
||||
<input type="hidden" name="url" value="<?php echo htmlspecialchars($url)?>">
|
||||
<input type="hidden" name="loj_id" value="<?php echo $loj_id?>">
|
||||
<p align=left>Problem Id: New Problem</p>
|
||||
<p align=left>Title:<input type=text name=title size=71 value="<?php echo $title?>"></p>
|
||||
|
||||
Reference in New Issue
Block a user