The split gets rid of query parameters.

The replace I just copied from above to make sure manifests are normalized for the comparison below.