Prevent %20 from appearing in KNB url

Fixes issue uncovered by #498