Vesuvius inc/hanlder_login.inc uses & instead of & in href strings

Bug #787140 reported by Clayton Kramer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahana Agasti
Fix Released
Undecided
Unassigned

Bug Description

The handler_login.inc breaks XHTML W3C validation using & instead of &

Here's a diff for the fix.

=== modified file 'vesuvius/inc/handler_login.inc'
--- vesuvius/inc/handler_login.inc 2011-03-30 04:32:51 +0000
+++ vesuvius/inc/handler_login.inc 2011-05-23 18:34:40 +0000
@@ -22,13 +22,13 @@
 if ($_SESSION['logged_in'] == true ) {
  echo "
   <div id=\"loginform\">
- <a href=\"index.php?mod=pref&act=default\">My Settings</a> | <a href=\"index.php?mod=pref&act=logout\">Logout</a>
+ <a href=\"index.php?mod=pref&amp;act=default\">My Settings</a> | <a href=\"index.php?mod=pref&amp;act=logout\">Logout</a>
   </div>
  ";
 } else {
  echo "
   <div id=\"loginform\">
- <a href=\"index.php?mod=pref&act=loginForm\">Login / Register</a>
+ <a href=\"index.php?mod=pref&amp;act=loginForm\">Login / Register</a>
   </div>
  ";
 }

Revision history for this message
dot dot dot (dotdotdotdeactivated-deactivatedaccount) wrote :
Changed in sahana-agasti:
status: New → Fix Committed
assignee: nobody → Greg Miernicki (triune)
milestone: none → 0.9.2
Changed in sahana-agasti:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.