Skip to content

llms.txt export incorrectly URL-encodes placeholder characters (like {) in subdomains of API paths #17446

Description

@hey-august

Component

Docs

Priority

P2 - Medium (Would be helpful)

SDK Language(s)

No response

Bug Description

Example: https://signalwire.com/docs/apis/rest/voice-logs/get-voice-log.md

Note that the HTTP method + path string includes two placeholder strings:

  • {your_space_name}
  • :id

Here's how it looks on the standard version of the page:

https://{your_space_name}.signalwire.com/api/voice/logs/:id

On the .md export, that line looks like this:

GET https://%7BYour_Space_Name%7D.signalwire.com/api/voice/logs/{id}

:id has been correctly handled as {id}, but {your_space_name} has incorrectly had a url-encoding pass applied to the subdomain.

We would expect this placeholder value to be handled the same way as id in the path: render its curly braces in the markdown export.

Versions

No response

Workaround

No response

Are you interested in contributing a fix?

No

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions