View Full Version : Full stop in keywords

08-21-2008, 02:12 PM
I tried entering xyz.com but it automatically changes it to xyzcom - is it not possible to have a full stop (dot) in the keyword?

08-21-2008, 11:45 PM
Word characters (\w), space (\s), comma (,), apostrophe ('), and dash (-) are currently allowed. Other characters get stripped, but if you want to allow other characters, you'd need to edit the strip_text function, appearing in both the gal_class_core.php and gal_class_dictionary.php files. Look for all instances of [^\w\s,\'\-] and add whatever you want to the character class, making sure to not allow unsafe characters.

08-22-2008, 10:41 AM
Do you think it's safe to add a full-stop? Do you forsee any problems? Any reason why it wasn't included already, as it seems quite obvious you might want to link a web address or email address?

Thanks Morgan.

08-23-2008, 05:57 AM
1) Yes, 2) no, 3) who knows. Try...