mod_rayo: rework attrib validation