Skip to content
Permalink
Browse files Browse the repository at this point in the history
クロスサイトスクリプティングの脆弱性発覚に伴うコード一部修正
  • Loading branch information
sachips committed May 18, 2016
1 parent cafdb72 commit e7d094c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contact/confirm.php
Expand Up @@ -62,7 +62,7 @@
メールアドレスに間違いがあると回答の返信ができませんので十分にご確認ください。
</p>

<form class="form-horizontal" name="contactform" role="form" method="post" action="<?php echo $_SERVER["PHP_SELF"]; ?>">
<form class="form-horizontal" name="contactform" role="form" method="post" action="<?php echo htmlspchar($_SERVER['PHP_SELF']); ?>">
<table class="table table-bordered confirm">
<tr>
<th>お名前</th>
Expand Down
2 changes: 1 addition & 1 deletion contact/index.php
Expand Up @@ -75,7 +75,7 @@
<div class="page-content">
<p class="mb30">以下を入力し確認するボタンを押してください。<span class="red">*</span>は入力必須です。</p>

<form class="form-horizontal" name="contactform" role="form" method="post" action="<?php echo $_SERVER["PHP_SELF"]; ?>" novalidate>
<form class="form-horizontal" name="contactform" role="form" method="post" action="<?php echo htmlspchar($_SERVER['PHP_SELF']); ?>" novalidate>
<div class="form-group">
<label for="inputName" class="col-sm-3 control-label">お名前<span class="red">*</span></label>
<div class="col-sm-9">
Expand Down

0 comments on commit e7d094c

Please sign in to comment.