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:

image

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)

Most upvoted comments

Will release a new version closer to the end of the week.

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.html

Thank you very much!

The latest version has been released already: v2.0.0-rc.10.

Could somebody try and verify if the issue is fixed? Thanks!

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 latest pointed to v2.0.0-rc.8-1, but I do see redoc-cli npm 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!