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

URL path variables are not replaced if followed by a dot #8302

Closed
fireattack opened this issue Apr 9, 2020 · 8 comments
Closed

URL path variables are not replaced if followed by a dot #8302

fireattack opened this issue Apr 9, 2020 · 8 comments

Comments

@fireattack
Copy link

fireattack commented Apr 9, 2020

Describe the bug

When path parameter is immediately followed by a dot, the character afterwords are considered as part of the path parameter. And there is no way to split the two.

Example: https://example.com/api/:id.json

To Reproduce
Steps to reproduce the behavior:

  1. Create a new request tab.
  2. Paste in the above link
  3. Check path parameter part.

Expected behavior
The key should "id", not "id.json".

Screenshots

image

App information (please complete the following information):

  • App Type Native App
  • Postman Version 7.22.1
  • OS: Win7x64

Additional context
The bug was firstly reported at #4423 and later redirected to #2427. Both of these two issues are closed despite the bug is still present in newest version. I think relying on closed issue(s) for discussion of an existing bug not the right way to do it, so I open this new ticket to reflect the fact that the bug still exists.

@whyvez
Copy link

whyvez commented May 25, 2020

It would be nice to be able to do something like: https://example.com/api/:id.:format which would map to two path params of id and format.

@jayarjo
Copy link

jayarjo commented Jun 12, 2020

How many times this bug has to be reopened?

@saswatds saswatds added this to Pending triage in Runtime Triage and Development via automation Jul 21, 2020
@dzmitry-kankalovich
Copy link

I just really wish someone at Postman would spend some time on, you know, covering their fix with unit tests. Because it's broken again.

@fireattack
Copy link
Author

fireattack commented Jun 10, 2021

It indeed is weird this hasn't be fixed. I encounter this issue semi-frequently when using Postman. I'd guess others would find so too.

@coditva
Copy link
Member

coditva commented Jun 30, 2022

Hey everyone, this issue has been fixed and is now available in v9.23 onwards. 🎉
Please update the app and let us know how it goes. 🙂

@coditva coditva closed this as completed Jun 30, 2022
Runtime Triage and Development automation moved this from Pending triage to Ready Jun 30, 2022
@shubhbhargav
Copy link

Re-opening the issue due to a bug where the variable is not getting resolved when the request is sent: #2805 (comment)

@shubhbhargav shubhbhargav reopened this Jul 6, 2022
Runtime Triage and Development automation moved this from Ready to Now Jul 6, 2022
@coditva
Copy link
Member

coditva commented Jul 13, 2022

Update: The bug has been identified. The issue is fixed and will be rolled out with v9.25 release in the next few days.

@coditva
Copy link
Member

coditva commented Jul 21, 2022

Update: The fix is now available in v9.25.x onwards. Closing the ticket; please re-open if facing any issues. 🙂

@coditva coditva closed this as completed Jul 21, 2022
Runtime Triage and Development automation moved this from Now to Ready Jul 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

9 participants