[GH-ISSUE #27] URLs with protocols might need some filtering #10

Closed
opened 2026-02-27 23:20:00 +03:00 by kerem · 1 comment
Owner

Originally created by @willemvb on GitHub (Oct 30, 2017).
Original GitHub issue: https://github.com/spatie/dnsrecords.io/issues/27

Originally assigned to: @freekmurze on GitHub.

https://github.com/spatie/dnsrecords.io/blob/master/resources/assets/js/app.js#L7-L10

Only filtering the protocol on the front end is not enough.
Eg. you can visit —without the URL being corrected

Subsequent entries in the search field keeps the weird pattern. Eg. enter spatie.com after last example and you get https://dnsrecords.io///http://spatie.com as url.

Originally created by @willemvb on GitHub (Oct 30, 2017). Original GitHub issue: https://github.com/spatie/dnsrecords.io/issues/27 Originally assigned to: @freekmurze on GitHub. https://github.com/spatie/dnsrecords.io/blob/master/resources/assets/js/app.js#L7-L10 Only filtering the protocol on the front end is not enough. Eg. you can visit —without the URL being corrected - https://dnsrecords.io/http://spatie.be - https://dnsrecords.io/// - https://dnsrecords.io///http://spatie.be Subsequent entries in the search field keeps the weird pattern. Eg. enter `spatie.com` after last example and you get `https://dnsrecords.io///http://spatie.com` as url.
kerem closed this issue 2026-02-27 23:20:00 +03:00
Author
Owner

@freekmurze commented on GitHub (Nov 1, 2017):

Fixed in #33

<!-- gh-comment-id:341153679 --> @freekmurze commented on GitHub (Nov 1, 2017): Fixed in #33
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/dnsrecords.io#10
No description provided.