[GH-ISSUE #275] Allow url request with / at eol #99

Closed
opened 2026-03-16 13:24:58 +03:00 by kerem · 1 comment
Owner

Originally created by @genk1 on GitHub (Nov 7, 2019).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/275

Originally assigned to: @liyasthomas on GitHub.

Is your feature request related to a problem? Please describe.
When we request api URL with slush - / at the end, it returns Error
Error in event handler: TypeError: Failed to construct 'URL': Invalid URL

Describe the solution you'd like
A clear and concise description of what you want to happen.
It can work both with or without slush - / at the end of API URL.

Describe alternatives you've considered
Shows us error in view, like immediate validation error on that URL fields not only in web Inspector,

Additional context
NA

Originally created by @genk1 on GitHub (Nov 7, 2019). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/275 Originally assigned to: @liyasthomas on GitHub. **Is your feature request related to a problem? Please describe.** When we request api URL with `slush - /` at the end, it returns Error ``` Error in event handler: TypeError: Failed to construct 'URL': Invalid URL ``` **Describe the solution you'd like** A clear and concise description of what you want to happen. It can work both with or without `slush - /` at the end of API URL. **Describe alternatives you've considered** Shows us error in view, like immediate validation error on that URL fields not only in web Inspector, **Additional context** NA
kerem 2026-03-16 13:24:58 +03:00
Author
Owner

@liyasthomas commented on GitHub (Nov 7, 2019):

Closed by accident. Sorry.

Regarding "/" at rhe end:
We have seperate fields for URL and Path. The "/" part usually goes with the Path field. Anyway this is still an issue. We have a PR (WIP) redy to be deployed #189 . When it lands, this issue will be solved.

Thanks for bring this issue upfront. We'll investigate the quickest solution for this, meanwhile use slash on Path field or if theres no Path field, simple remove the "/"

<!-- gh-comment-id:550581936 --> @liyasthomas commented on GitHub (Nov 7, 2019): Closed by accident. Sorry. Regarding "/" at rhe end: We have seperate fields for `URL` and `Path`. The "/" part usually goes with the `Path` field. Anyway this is still an issue. We have a PR (WIP) redy to be deployed #189 . When it lands, this issue will be solved. Thanks for bring this issue upfront. We'll investigate the quickest solution for this, meanwhile use slash on Path field or if theres no Path field, simple remove the "/"
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#99
No description provided.