]> source.dussan.org Git - nextcloud-server.git/commitdiff
Don't sanitize error message hint
authorLukas Reschke <lukas@statuscode.ch>
Wed, 6 Mar 2013 11:56:27 +0000 (12:56 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Wed, 6 Mar 2013 11:56:27 +0000 (12:56 +0100)
core/templates/error.php

index 3305f3fba9c54f73c032ca4e2808aa7791fc10f2..ac91357b350e1f53a1bcadf72bf5ebfeac6fdb43 100644 (file)
@@ -2,7 +2,7 @@
        <?php foreach($_["errors"] as $error):?>
                <li class='error'>
                        <?php p($error['error']) ?><br/>
-                       <p class='hint'><?php if(isset($error['hint']))p($error['hint']) ?></p>
+                       <p class='hint'><?php if(isset($error['hint']))print_unescaped($error['hint']) ?></p>
                </li>
        <?php endforeach ?>
 </ul>