kristovaher / Wave-Framework

Open Source API-centric PHP Framework
https://github.com/kristovaher/Wave-Framework
GNU Lesser General Public License v3.0
2 stars 0 forks source link

Potential bug in session validation related to tokens #158

Open kristovaher opened 10 years ago

kristovaher commented 10 years ago

There is a following line in code:

$tmp=explode(':',file_get_contents($apiState['token-directory-ip'].$apiState['token-file']));

This may be a bug, why is the directory set with -ip postfix while token-file doesn't have it?