properly encoded parameters, current requests would truncate the filename if spaces were present, leading to even more results