added path terminator for JSP

In JSP, the character ; or ? terminates a path. has_nul_byte was renamed to has_terminator.