-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Can't import a POSTMAN collection with a / char in the name #219
Comments
@l0new4nder3r The fix done by @tpyle has been released in Can you test and confirm this on your end ? |
Hi, thanks @tpyle ! Successfully tested a few minutes ago with v0.16.4 Testing with a postman collection containing a slash in its name property. Importing process (same as before, slash is still present) The collection is imported without issue - the only thing is that now, its name has changed. Improvement with a much lesser priority : allow any character in the collection name? |
Hi @l0new4nder3r, Unfortunately, since bruno stores collections (and requests) as files and directories, that requirement comes from the filesystem, not from bruno itself. Every filesystem that I'm aware of doesn't allow I suppose we could URL encode the collection name (so that in the filesystem it looks like |
Yes, Its a restriction at the filesystem level. You can still choose to rename the collection in the UI and that will reflect in the UI. Meaning you can change it to Ex: "Payment/ConfigApi". This name gets updated in But in the filesystem level we are bounded by the naming restrictions of filesystem
{
"version": "1",
"name": "Payment/ConfigApi",
"type": "collection"
}
} |
Hey, I'm encountering similar issue here, but with different chars. I'm trying to import a postman collection with name |
@irfansofyana can you tell me what OS you're on? Or what filesystem you're using, if you're aware? If you're on a linux/unix/mac system, you should be able to run |
New user here. I name most of my requests after their route eg ..but it looks like this is may just be a UI bug? If I manually change the name in the meta section of the request bru file, it is reflected in the UI. However, if I change it in the UI, it silently does nothing. |
Can confirm, there is something fishy with renaming requests via ui 🤔 |
Hi, I'm using macOS |
The collection name was changed to the sanitized directory, but the collection name is saved in the bruno.json where it does not need to be sanitized Fixes: - usebruno#1651 - usebruno#219
Closing this issue as the originally reported problem has been resolved. We're currently working on adding support for special characters in request and folder names, which is being tracked in issue #2996. |
When attempting to import a postman collection with a name containing "/", the initial detection seems correct ("name" is correctly displayed), the import seems to be successful...
"Collection imported successfully" is being displayed, but the collection is not imported at all (nothing in the destination folder, and no new collection opened in the main interface).
When looking at the dev console (postman collection called "MYAPP\SOMETHING ELSE", by example)
Removing or replacing the "/" char leads to a successful import
The text was updated successfully, but these errors were encountered: