Fix #30400 issue with SHA1 for secondary url