Open-AudIT
https://www.open-audit.org/phpBB3/

Password with dash/minus
https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6281
Page 1 of 1

Author:  sccuser [ Wed Feb 26, 2014 1:42 pm ]
Post subject:  Password with dash/minus

Hello dear forum,

I just got a problem when trying to register the default_ssh_password with dash/minus included in ahead.
It automatically returns the "false" value right after applied.

How can I pass this problem?

Image

Author:  Mark [ Wed Feb 26, 2014 4:18 pm ]
Post subject:  Re: Password with dash/minus

I cannot replicate this. Having said that...

If you look in the file open-audit/code_igniter/config/config.php you will see a line to set the $config['permitted_uri_chars'] variable. Make sure this has a - in it somewhere. CodeIgniter will not allow and character that is not contained in this line to be sent via a GET. Unfortunately passwords do tend to contain lots of weird characters. You can remove the string contents altogether if you like to permit ANY character. Note that the CodeIgniter developers recommend NOT doing this.

FYI - My current line looks like this:
Code:
$config['permitted_uri_chars'] = 'a-z 0-9~%.:|(),_\-!=&[]@*';

Author:  sccuser [ Wed Feb 26, 2014 6:40 pm ]
Post subject:  Re: Password with dash/minus

Thanks Mark, I probably give it a try.

Page 1 of 1 All times are UTC + 10 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/