Put redirect port string creation in a function.
Put redirect port string creation in a function.

This function is probably more efficient (it doesn't create
a table) and in any case is fine.

idupree/idupree-websitepy,idupree/idupree-websitepy,idupree/idupree-websitepy