ProxymanApp / Proxyman

Modern. Native. Delightful Web Debugging Proxy for macOS, iOS, and Android ⚡️
https://proxyman.io
5.35k stars 177 forks source link

Bug: Custom pinned domains have blank label and don't show results #1927

Open manicminer opened 4 months ago

manicminer commented 4 months ago

Description

I make good use of the Pinned section in the sidebar but can't seem to find a way to use wildcards when pinning. Some API services use a single domain which is convenient, but others are scoped to specific subdomains, which are sometimes nested.

For example, Azure Storage has hostnames in formats like this:

Why this feature/change is important?

Currently the only way to conveniently show requests for something like *.core.windows.net or *.blob.core.windows.net is to use a saved filter. When moving through different APIs using Pinned items this can be a frustration. It would be great to be able to add wildcards like these, and have them be greedy so they capture nested subdomains.

manicminer commented 4 months ago

Right after opening this issue, I noticed the 'Add custom domain' option when adding a pinned item (which states that it supports wildcards). Great!

However, after doing this, the new pinned item shows up with a blank label, and doesn't seem to work. So I guess this is actually a bug report rather than a feature request? 😄

Screenshot 2024-02-07 at 12 00 24 Screenshot 2024-02-07 at 11 59 10
NghiaTranUIT commented 4 months ago

It looks like a bug when showing the wildcard domain in the Pinned folder. I'm going to fix it now.

don't show results

This feature is not implemented yet. The domain on the Left panel only shows a Domain (not wildcard), so it currently doesn't show any requests.

manicminer commented 4 months ago

@NghiaTranUIT Great, thanks! Does that mean you'll be able to get this working just like regular pinned domains? Happy to test builds if that's useful.

NghiaTranUIT commented 4 months ago

I'd say that there are 2 tickets:

  1. Fix the blank label if it's a wildcard domain -> I'd like to fix this one first.
  2. Implement the Wildcard Filter logic -> This one should be introduced in the next 2 releases 👍
NghiaTranUIT commented 4 months ago

@manicminer 2 features have been implemented in this beta build 😄 https://download.proxyman.io/beta/Proxyman_4.16.0_Support_Wildcard_domain.dmg

Screenshots

Screenshot 2024-02-11 at 09 16 06

manicminer commented 1 month ago

@NghiaTranUIT Apologies for the late reply, this fell off my notifications and went unnoticed. Thanks for adding the feature, can confirm it works great! The ability to expand pinned wildcard domains is very useful 👍

NghiaTranUIT commented 1 month ago

Glad it works 👍