Ticket #32 (closed Bug report: fixed)

Opened 14 years ago

Last modified 12 years ago

quotes missing in classes/Authenticator.php

Reported by: kakaouete Owned by: fproulx
Priority: normal Milestone: WifiDog Auth Server 1.0
Component: Auth server, Authentication, permissions and access control Version: Auth Server SVN
Keywords: Cc:

Description (last modified by max-horvath) (diff)

I think there is a little error in
classes/Authenticator.php line                        
               
74 :                                                  
                                                  
                                                      
                                                  
sql = "SELECT conn_id FROM connections WHERE user_id =
                                                  
'{$user->getId()}' AND node_id={$node->getId()} AND   
                                                  
token_status='".TOKEN_INUSE."';\n";                   
                                                  
                                                      
                                                  
should be                                             
                                                  
                                                      
                                                  
$sql = "SELECT conn_id FROM connections WHERE user_id =
                                                 
'{$user->getId()}' AND node_id = '{$node->getId()}' AND
                                                 
token_status='".TOKEN_INUSE."';\n";                   
                                                  
                                                      
                                                  
{$node->getId()} should be quoted.

Change History

Changed 14 years ago by fproulx

  • status changed from assigned to closed

Changed 13 years ago by max-horvath

  • status changed from closed to reopened
  • description modified (diff)
  • component changed from Auth server: Authentication to Auth server: Authentication
  • version changed from None to Auth Server SVN
  • milestone set to WifiDog Auth Server 1.0
  • resolution None deleted

Changed 13 years ago by max-horvath

  • owner changed from nobody to fproulx
  • status changed from reopened to new

Changed 13 years ago by max-horvath

  • status changed from new to closed
  • resolution set to fixed

Changed 12 years ago by benoitg

  • component changed from Auth server: Authentication to Auth server, Authentication
Note: See TracTickets for help on using tickets.