allow link to have ?, forbid &
add redirect chan size into config