Skip to content

Commit

Permalink
5707 Added stripslashes to ['site_name']
Browse files Browse the repository at this point in the history
  • Loading branch information
gregrgay committed Aug 16, 2016
1 parent e06866b commit a66123a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4,7 +4,7 @@
<div class="input-form">
<div class="row">
<span class="required" title="<?php echo _AT('required_field'); ?>">*</span><label for="sitename"><?php echo _AT('site_name'); ?></label><br />
<input type="text" name="site_name" size="40" maxlength="60" id="sitename" value="<?php if (!empty($_POST['site_name'])) { echo $stripslashes(htmlspecialchars($_POST['site_name'])); } else { echo $_config['site_name']; } ?>" />
<input type="text" name="site_name" size="40" maxlength="60" id="sitename" value="<?php if (!empty($_POST['site_name'])) { echo $stripslashes(htmlspecialchars($_POST['site_name'])); } else { echo stripslashes($_config['site_name']); } ?>" />
</div>

<div class="row">
Expand Down

0 comments on commit a66123a

Please sign in to comment.