It was just a fucking null byte missing.