Update source/php/download.php

trim any whitespace from the key.