private String getSafeStringUrl() {
        if (TextUtils.isEmpty(safeStringUrl)) {
            String unsafeStringUrl = stringUrl;
            if (TextUtils.isEmpty(unsafeStringUrl)) {
                unsafeStringUrl = url.toString();
            }
            safeStringUrl = Uri.encode(unsafeStringUrl, ALLOWED_URI_CHARS);
        }
        return safeStringUrl;
    }
Returns a properly escaped {@link String} url that can be used to make http/https requests.

@see #toURL()
@see #getCacheKey()
core/src/main/java/com/bumptech/glide/load/model/GlideUrl.java