redoc: Regression: Double slashes added to full URL display
Attempted to upgrade to redoc@2.0.0-rc.8-1 this morning and noticed that it is inserting double slashes in the full url for a route:

Minimal reproduction.
openapi: 3.0.2
info:
title: Double Slash
version: v1
servers:
- url: https://api.test.invalid
paths:
/v1:
get:
summary: Double slash bug
responses:
200:
description: OK
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 19 (5 by maintainers)
Is a new release still planned anytime soon? I would love to update to the latest version for IE11 fixes but this issue is blocking us.
A new release is coming in 2-3 days max.
@RomanHotsiy I tried the new version a moment ago, and the issue seems to have been fixed 🎉
I can also confirm that problem is fixed in latest version (
2.0.0-rc.10) even for Swagger v2 (OpenAPI 2) description. My example is rendered properly: https://rbaskets.in/api.htmlThank you very much!
Can also confirm v2.0.0-rc.10 fixes this issue, woo! I think the only thing remaining is to bump the latest tag in the redoc npm package. I’m still seeing
latestpointed to v2.0.0-rc.8-1, but I do seeredoc-clinpm package bumped up to 0.8.5 with the dependency to v2.0.0-rc.10.Thanks again, really appreciate it!
Any updates would be greatly appreciated. I’d also like to know if a new release is planned soon.
Thanks!