• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
insert bug(CI4)

#1
here I insert the follow data to mysql.
PHP Code:
$data['password']='$2y$10$ErQlCj/Mo10il.FthAm0WOjYdf3chZEGPFqaPzjqOX2aj2uYf5Ihq' 
when I check the database, the data was changed to
Code:
y\$ErQlCj/Mo10il.FthAm0WOjYdf3chZEGPFqaPzjqOX2aj2uYf5Ihq
please note "$2y$10" was changed to "y\" and the number of characters was changed too(from 60 to 56).

I guess this is might be a bug?
Q&A for Codeigniter
StartBBS--open-source, light weight forum software.
Best VPS:Digital Ocean
Reply


Messages In This Thread
insert bug(CI4) - by startbbs - 11-14-2016, 05:29 PM
RE: insert bug(CI4) - by kilishan - 11-14-2016, 08:49 PM
RE: insert bug(CI4) - by startbbs - 11-14-2016, 09:21 PM
RE: insert bug(CI4) - by kilishan - 11-14-2016, 09:26 PM
RE: insert bug(CI4) - by kilishan - 11-14-2016, 09:35 PM
RE: insert bug(CI4) - by startbbs - 11-15-2016, 06:38 AM
RE: insert bug(CI4) - by kilishan - 11-15-2016, 06:41 AM
RE: insert bug(CI4) - by InsiteFX - 11-15-2016, 06:52 AM
RE: insert bug(CI4) - by Narf - 11-15-2016, 09:46 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme ¬© 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.