web/hpaste: fixed a bug with redirection URL