[GH-ISSUE #227] Credentials are still being included in Permalink even when "Include in URL" is turned off #80

Closed
opened 2026-03-16 13:13:49 +03:00 by kerem · 3 comments
Owner

Originally created by @reefqi037 on GitHub (Oct 29, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/227

Describe the bug
Include in URL toggle only include/exclude auth parameter.

To Reproduce
Steps to reproduce the behavior:

  1. Set Authentication Type to Basic or Bearer Token
  2. Set the Username and Password or Token
  3. Toggle Include in URL button on and off
  4. See the httpUser and httpPassword or bearerToken left in URL

Expected behavior
Include in URL toggle button should include/exclude not only auth, but httpUser, httpPassword and bearerToken too.

Screenshots
auth

Additional context
Related with #178 and #215

Originally created by @reefqi037 on GitHub (Oct 29, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/227 **Describe the bug** ```Include in URL``` toggle only include/exclude ```auth``` parameter. **To Reproduce** Steps to reproduce the behavior: 1. Set ```Authentication Type``` to ```Basic``` or ```Bearer Token``` 2. Set the ```Username``` and ```Password``` or ```Token``` 3. Toggle ```Include in URL``` button on and off 4. See the ```httpUser``` and ```httpPassword``` or ```bearerToken``` left in URL **Expected behavior** ```Include in URL``` toggle button should include/exclude not only ```auth```, but ```httpUser```, ```httpPassword``` and ```bearerToken``` too. **Screenshots** ![auth](https://user-images.githubusercontent.com/44827833/67746310-9207b700-fa69-11e9-9b3a-754170488277.PNG) **Additional context** Related with #178 and #215
kerem closed this issue 2026-03-16 13:13:55 +03:00
Author
Owner

@NBTX commented on GitHub (Oct 29, 2019):

Ah! I know the cause, I'll submit a PR as soon as I get home.

<!-- gh-comment-id:547412619 --> @NBTX commented on GitHub (Oct 29, 2019): Ah! I know the cause, I'll submit a PR as soon as I get home.
Author
Owner

@reefqi037 commented on GitHub (Oct 29, 2019):

Yeah, thought you will figured it out since you wrote that part. I have submit a PR too but feel free to make another. I'm new to vue and still learning 😬

<!-- gh-comment-id:547427842 --> @reefqi037 commented on GitHub (Oct 29, 2019): Yeah, thought you will figured it out since you wrote that part. I have submit a PR too but feel free to make another. I'm new to vue and still learning 😬
Author
Owner

@NBTX commented on GitHub (Oct 29, 2019):

Nope your PR works fine!

<!-- gh-comment-id:547452471 --> @NBTX commented on GitHub (Oct 29, 2019): Nope your PR works fine!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#80
No description provided.