Client Support Community Server Status Contact Us Client Login
Email Hosting Website Hosting Reseller Hosting VPS Hosting Dedicated Servers

    Join our Community      Check your private messages       Profile       Search       FAQ       Memberlist       Log in


FTP passwords - only alphanumeric?

 
Post new topic   Reply to topic    NetHosted Community Index -> FTP/SQL Support
boughtonp Reply with quote
 NetHosted Customer

 

 Joined: 18 Jul 2005
 Posts: 130
 Location: South Croydon

PostPosted: Wed Feb 28, 2007 1:43 pm    Post subject: FTP passwords - only alphanumeric?
 
I've just added an FTP account via the cPanel FTP Account Maintenance section, and tried to give it a secure password (ie: not entirely alphanumeric), but apparently only alphanumeric ones are allowed.

When I changed my main account password the other day I could use non-alphanumeric symbols fine, and that new PW works with FTP too, so I'm guessing its something up with the FTP Account Maintenance section of cPanel?

_________________
Peter Boughton
Back to top
View user's profile Send private message Visit poster's website
NetHosted - Andrew Reply with quote
 NetHosted Staff

 

 Joined: 22 Mar 2004
 Posts: 5684
 

PostPosted: Wed Feb 28, 2007 1:53 pm    Post subject:
 
Hmm, this is a new one to me! I'll have a look myself.

Thanks,

Andrew

_________________
| Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think  of NetHosted!
Back to top
View user's profile Send private message
NetHosted - Andrew Reply with quote
 NetHosted Staff

 

 Joined: 22 Mar 2004
 Posts: 5684
 

PostPosted: Wed Feb 28, 2007 3:07 pm    Post subject:
 
Peter,

I've updated a test FTP accounts password to all sorts of weird and wonderful things and I'm yet to get an error. Can you narrow it down to one particular character that is causing cPanel the issue?

Thanks,

Andrew

_________________
| Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think  of NetHosted!
Back to top
View user's profile Send private message
boughtonp Reply with quote
 NetHosted Customer

 

 Joined: 18 Jul 2005
 Posts: 130
 Location: South Croydon

PostPosted: Wed Feb 28, 2007 11:05 pm    Post subject:
 
I tried it with an exclamation mark at the end.

It's been a day of nightmare-strange bugs at work today though, so I'll try again and see what happens.

_________________
Peter Boughton
Back to top
View user's profile Send private message Visit poster's website
boughtonp Reply with quote
 NetHosted Customer

 

 Joined: 18 Jul 2005
 Posts: 130
 Location: South Croydon

PostPosted: Wed Feb 28, 2007 11:10 pm    Post subject:
 
Yup still doing it. It's a JavaScript error...

Code:

var alphnumpattern = /^[a-z0-9_-]+$/i;
...
    if (login.match(alphnumpattern) == null) {
        alert("Your password can only be an alphanumeric string.");
        return false;
    }


From http://{domain}:2082/frontend/x2/ftp/addftp.html 


No problems with actually changing a password though - held shift and mashed the number row and it accepted that fine.

_________________
Peter Boughton
Back to top
View user's profile Send private message Visit poster's website
NetHosted - Andrew Reply with quote
 NetHosted Staff

 

 Joined: 22 Mar 2004
 Posts: 5684
 

PostPosted: Wed Feb 28, 2007 11:17 pm    Post subject:
 
Well that's pretty clear cut then, I imagine there is a reason this is implemented by cPanel but they've obviously forgotten to add similar code when people update their main passwords.

Andrew

_________________
| Andrew Bassett
| Managing Director, NetHosted Ltd.
| Resellers, take a look at overselling !
| Members, tell us what you think  of NetHosted!
Back to top
View user's profile Send private message
Post new topic   Reply to topic    NetHosted Community Index -> FTP/SQL Support
Page 1 of 1

User Permissions
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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum

 
Jump to: