Page 1 of 1

Problem: Remote IP camera - password includes a hyphen

Posted: Tue Jun 27, 2006 2:29 pm
by fcrossen
It seems that there is a problem with the Javascript validation when you goto enter a password into the camera source for a remote IP camera.

eg: user:password-with-hyphen@[ip address]

throws a javascript validation message "Source must be set to a valid ip address or hostname..."

Posted: Tue Jun 27, 2006 3:33 pm
by zoneminder
Possibly hyphens are not included in the character set to check. Unfortunately I can't check at the moment. Does it work if you don't include a hyphen?

Posted: Thu Jun 29, 2006 8:33 am
by fcrossen
It doesn't happen when the hyphen is removed from the password. No biggie, I just change the password, but thought you'd like a heads-up on a minor bug!

Posted: Thu Jun 29, 2006 8:35 am
by jameswilson
well i personally would just add it to the wiki and leave it, and say hat certain charecers cannot be used in a password. Like space, - , $% etc

Posted: Thu Jun 29, 2006 3:23 pm
by zoneminder
I think a hyphen is a kosher char so I'll maybe relax the check a bit.