Issue #3016519 by jweowu, pifagor, vijaycs85: Refactor redirect_list_form(), relocating call to func_get_args()