I am using the following htaccess rul to remove double or more slashes from web urls:
#remove double/more slashes in url RewriteCond %{REQUEST_URI} ^(.*)//(.
As per this link, following code should take care of extra slashes(anywhere) in URL.
RewriteCond %{THE_REQUEST} // RewriteRule ^.*$ $0 [R=302,L,NE]