Fixes #3050 - URLs sensitive to trailing slash

By passing false to `removeTrailingSlash` for normalize-url call, the URLs sensitive to trailing slash will be parsed correctly
This commit is contained in:
Naveen Namani 2023-10-30 14:31:46 +05:30 committed by GitHub
parent 6bdc7f01e1
commit ef1adfee98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -385,5 +385,6 @@ export const cleanUrl = (url: string) => {
stripHash: true,
stripWWW: false,
removeQueryParameters: trackingParams,
removeTrailingSlash: false,
})
}