Double slash in upload URLs

You can do an untrailingslashit() also.

tech