Fixed url signature to be url-safe
Added case to test if signature is url-safe