[GH-ISSUE #21] 404 is thrown if URL with scheme is defined in URL #9

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

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

Go to https://dnsrecords.io/https://spatie.be. This'll throw a 404 because there's a / in the URL after the domain name. This can be fixed by adding ->where('command', '\S+'); after this line.

Originally created by @svenluijten on GitHub (Oct 30, 2017). Original GitHub issue: https://github.com/spatie/dnsrecords.io/issues/21 Go to https://dnsrecords.io/https://spatie.be. This'll throw a 404 because there's a `/` in the URL after the domain name. This can be fixed by adding `->where('command', '\S+');` after [this line](https://github.com/spatie/dnsrecords.io/blob/master/routes/web.php#L4).
kerem closed this issue 2026-02-27 23:19:59 +03:00
Author
Owner

@freekmurze commented on GitHub (Oct 30, 2017):

We'll handle this in #23

<!-- gh-comment-id:340472547 --> @freekmurze commented on GitHub (Oct 30, 2017): We'll handle this in #23
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#9
No description provided.