Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forward slash in environment name causes Postman import failure #2197

Open
2 tasks done
igor-topolski opened this issue Apr 29, 2024 · 0 comments · May be fixed by #2200 or #2214
Open
2 tasks done

Forward slash in environment name causes Postman import failure #2197

igor-topolski opened this issue Apr 29, 2024 · 0 comments · May be fixed by #2200 or #2214
Labels
bug Something isn't working

Comments

@igor-topolski
Copy link

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

Issue #219 already describes a scenario for collections, but I did not find one for environments.

If the environment name contains /, the import fails with a non-descriptive error.

Here's an example payload causing a silent failure

{
	"id": "099ecab4-b9ee-4290-b33a-50357f4eae0a",
	"name": "Some / Environment / Name",
	"values": [
		{
			"key": "my-key",
			"value": "",
			"enabled": true
		}
	],
	"_postman_variable_scope": "environment",
	"_postman_exported_at": "2024-04-29T00:00:00.000Z",
	"_postman_exported_using": "Postman/10.24.24"
}

I believe it either should allow / in collection names or the error should provide clear guidelines on validation error.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant