OSDN Git Service

rawurlencode 漏れを修正。
[yanmah2/YANMAH2-season2-.git] / login.php
index 28f422e..c45e289 100644 (file)
--- a/login.php
+++ b/login.php
@@ -101,7 +101,7 @@ if (isset($_SESSION['auth']) && $_SESSION['auth'] === TRUE){
        $tag_3 = '</a>';
        $phrase_4 = ')です。';
        $word_two = pullLot($lot_two);
-       $tag_4 = '<a href="./entries.php?word='.$product_name_abbr.'&amp;body=';
+       $tag_4 = '<a href="./entries.php?word='.rawurlencode($product_name_abbr).'&amp;body=';
        $tag_5 = '" class="navigation-link">';
        $phrase_5 = 'ハイクしよう。';
        $tag_6 = '</a>';