[bug 947909] Sanitize next url