Closed Bug 1906356 Opened 10 months ago Closed 4 months ago

Copying a bearer token from the Authorization header in the devtools network tab gives you a garbled token

Categories

(DevTools :: General, defect)

Firefox 127
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: dino.hensen, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:127.0) Gecko/20100101 Firefox/127.0

Steps to reproduce:

A webapp using axios sends a Authorization: "Bearer xyz" header.
On copying that token from the DevTools (without the Raw toggle still disabled) into jwt.io. It gives a scrambled token.

This happened on macbook pro M3 firefox 127.0.2
I can not reproduce this with all access tokens, I can not share the access token.

Actual results:

I expected to have the correct access token on my clipboard, instead I got a scrambled one.

I confirmed the backend received the correct access token.

Expected results:

The correct access token should be copy-paste-able.

The Bugbug bot thinks this bug should belong to the 'DevTools::General' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → General
Product: Firefox → DevTools

Thanks for filing, a few questions:

  • How are you copying the value? Is it from a context menu or something else?
  • How different is the copied version? Is it just truncated, or completely different?
  • Can you share a test page to reproduce the issue?

Thanks

Flags: needinfo?(dino.hensen)

A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED, closing the bug as incomplete.

For more information, please visit BugBot documentation.

Status: UNCONFIRMED → RESOLVED
Closed: 4 months ago
Flags: needinfo?(dino.hensen)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.