desktop icon indicating copy to clipboard operation
desktop copied to clipboard

Improve variable masking

Open izzqz opened this issue 2 years ago • 1 comments

What happened?

I'm using Telegram Bot API which authenticate request using token in request path. When TOKEN secret variable specified in HTTPie its exposed in path request.

image image

Steps to reproduce?

1. Create variable in your space and switch it to secret
2. Make request using this variable in path
3. Open request info and see your secret value

What did you expect to happen?

I'm expecting it did not exposing in my interface. It can be harmful during screencasting and etc.

Platform

None

HTTPie Desktop version

2022.5.1 (idk using web version)

Relevant log output

No response

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct

izzqz avatar Oct 18 '23 16:10 izzqz

Hey @izzqz, the masking is currently only applied in the variable definitions table. The Preview and Request show the raw request, but we plan to come up with a way to apply the masking there as well.

jkbrzt avatar Oct 18 '23 19:10 jkbrzt