Comment 6 for bug 1093967

Revision history for this message
Alex Harrington (alexharrington) wrote :

Please try the following:

http://bazaar.launchpad.net/~xibo-maintainers/xibo/head-14-fix/view/head:/server/lib/app/kit.class.php#L286
In kit.class.php, please replace line 286 as follows:

$return = (string) preg_replace( '/[^A-Z_-]/i', '', $return );

So the whole section reads:
   case _WORD :
    if ($return == '')
    {
     $return = '';
     break;
    }

    $return = (string) preg_replace('/[^A-Z_-]/i', '', $return );
    break;

I'm testing this on one of my systems and will look for any unintended side effects