ProxymanApp / ProxymanApp/Proxyman

Diff headers sort is case sensitive

Open
#2,242 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
No language data
Stars
7k
Forks
237
PR merge metrics
No merged PRs in 30d

Description

Description

When comparing two requests in the diff menu, the headers if they don't have the same case, won't compare, and show a big red and green difference.

Image

As you can see on the right part of the pic, the header key "accept" is after "Pragma". Same for all the lowercase headers. This happens because it is "accept" and not "Accept". This is super annoying to compare two requests headers.

Steps to Reproduce

  1. Make a request to whatever.
  2. Add it to the diff.
  3. Edit and replay the request after changing the headers to full lowercase.
  4. Add the this new request to the diff.

Current Behavior

The diff will show a huge difference, while it's the just the headers keys case changing.

Expected Behavior

Should be ignoring the case of keys.

Environment

  • App version: 5.14.0
  • macOS version: 15.1.1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the diff menu with two otherwise identical requests whose header keys differ only in case, then trace the request comparison and header ordering entry point. Done means equivalent header keys no longer produce a large diff when their casing changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
desktop, networking
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.