Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Fri Mar 29, 2024 1:41 am

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Password with dash/minus
PostPosted: Wed Feb 26, 2014 1:42 pm 
Offline
Newbie

Joined: Mon Jun 18, 2012 6:26 pm
Posts: 32
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?

[img]http://upfree.ssc.vn/images/6232014_02_26_103825.png[/img]


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 26, 2014 4:18 pm 
Offline
Site Admin
User avatar

Joined: Mon Jun 07, 2004 11:48 am
Posts: 1964
Location: Brisbane, Australia
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~%.:|(),_\-!=&[]@*';[/code]

_________________
Support and Development hours available from [url=https://opmantek.com]Opmantek[/url].
Please consider a purchase to help make Open-AudIT better for everyone.


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 26, 2014 6:40 pm 
Offline
Newbie

Joined: Mon Jun 18, 2012 6:26 pm
Posts: 32
Thanks Mark, I probably give it a try.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group