url encode incoming parameters and defaults
refs #444