Hi,
I've come across a strange bug in the admin interface that doesn't seem to have been reported before. If I've missed an earlier report, please accept my apologies for the double post.
I have an external FTP server to back up some of my bubba files to. However, the host name contains a "-" (minus), and Bubba doesn't seem to like it. Whenever I try to save the backup job, I get the error message "Update error:Illegal character(s) '-' in field: 'Target'". Removing the - helps, but then the host name is incorrect, of course.
Has anybody else encountered this issue?
Thanks for your help in advance,
Walter
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Backup: Illegal character(s) '-' in field: 'Target'
-
- Posts: 1
- Joined: 10 Jun 2010, 17:23
Re: Backup: Illegal character(s) '-' in field: 'Target'
I had exactly the same problem. I contacted excito support about it so the problem is known by them.
They provided me with this solution:
In file '/usr/lib/web-admin/adminfunctions.php' line 1495
replace
with
They provided me with this solution:
In file '/usr/lib/web-admin/adminfunctions.php' line 1495
replace
Code: Select all
if(preg_match("/[^\w\.]/",$value,$chars)) { // only allow "\w", "."
Code: Select all
if(preg_match("/[^\w\.\-]/",$value,$chars)) { // only allow "\w", "."