[GH-ISSUE #229] Unsupported URLs [BUG]? #83

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

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

The send button is deactivated when url is:
https:user:password-@api.domain.fr
when password is ending with special character (i.e " - "), the url is considered invalid, one can't make a request.

Everything is working fine when entering:
https:user:password@api.domain.fr
or
https:user:password-pwd@api.domain.fr

Error when - at the end of password
error-when-url

The send button should be active e.g
no-error-when-url

Originally created by @seyuf on GitHub (Oct 29, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/229 The send button is deactivated when url is: [https:user:password-@api.domain.fr](https:user:password-@api.domain.fr) when password is ending with special character (i.e " *-* "), the url is considered invalid, one can't make a request. Everything is working fine when entering: [https:user:password@api.domain.fr](https:user:password@api.domain.fr) or [https:user:password-pwd@api.domain.fr](https:user:password-pwd@api.domain.fr) **Error when *-* at the end of password** ![error-when-url](https://user-images.githubusercontent.com/3765910/67789939-23305b00-fa75-11e9-97ad-f74babaf0b95.png) The send button should be active e.g ![no-error-when-url](https://user-images.githubusercontent.com/3765910/67789991-3c390c00-fa75-11e9-9345-ea99ee6c4770.png)
kerem 2026-03-16 13:16:08 +03:00
Author
Owner

@liyasthomas commented on GitHub (Oct 30, 2019):

I couldn't reproduce the bug. By the way, I don't think the URL you mentioned seems to a valid url at all.

<!-- gh-comment-id:547731299 --> @liyasthomas commented on GitHub (Oct 30, 2019): I couldn't reproduce the bug. By the way, I don't think the `URL` you mentioned seems to a valid url at all.
Author
Owner

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

I think @seyuf meant to send username and password together with the URL in this form:
http://username:password@example.com

If there's - at the end of the password, for example http://username:password-@example.com, Postwoman will consider the URL invalid, thus disabling the send button.

You can achieve the same thing by using Basic Type Authentication function. Type
in username and password in the field and just use http://example.com in the URL instead.

<!-- gh-comment-id:547742849 --> @reefqi037 commented on GitHub (Oct 30, 2019): I think @seyuf meant to send username and password together with the URL in this form: ```http://username:password@example.com``` If there's ```-``` at the end of the ```password```, for example ```http://username:password-@example.com```, Postwoman will consider the URL invalid, thus disabling the ```send``` button. You can achieve the same thing by using ```Basic Type Authentication``` function. Type in username and password in the field and just use ```http://example.com``` in the URL instead.
Author
Owner

@seyuf commented on GitHub (Oct 30, 2019):

Hi @liyasthomas , what @reefqi037 said, let me know if you need more info?

Hi @reefqi037, thanks for the workaround.

I still think this is an issue though, feel free to close this if you think otherwise.

Great project by the way, many thanks 👍

<!-- gh-comment-id:547779202 --> @seyuf commented on GitHub (Oct 30, 2019): Hi @liyasthomas , what @reefqi037 said, let me know if you need more info? Hi @reefqi037, thanks for the workaround. I still think this is an issue though, feel free to close this if you think otherwise. Great project by the way, many thanks 👍
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#83
No description provided.