Skip to content

If meta.name has new line in it, bru file is broken and endpoint not displayed #5244

@tenhobi

Description

@tenhobi

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

2.8.1

Operating System

macOs 15.5

Describe the bug

If summary (OpenApi) has new line in it, bru file is broken and endpoint not displayed. That's because meta.name is created with new lines which puts it out of name field and bruno file is corrupted.

In the app, this file is then not shown.

.bru file to reproduce the bug

For name Alpha beta\ngama delta:

meta {
  name: Alpha beta
gama delta
  type: http
  seq: 2
}

post {
  url: {{baseUrl}}/api/1/some-endpoint
  body: json
  auth: none
}

Screenshots/Live demo link

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0bugSomething isn't workinghas-pr

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions