Fix octal number literals.

Signed-off-by: Jelmer Vernooĳ <jelmer@samba.org>
Fix another potential XSS issue, and add test for the previous one.