mirror of
https://github.com/spatie/dnsrecords.io.git
synced 2026-04-27 08:25:57 +03:00
[GH-ISSUE #22] Full URLs redirect to that URL #7
Labels
No labels
bug
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/dnsrecords.io#7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @svenluijten on GitHub (Oct 30, 2017).
Original GitHub issue: https://github.com/spatie/dnsrecords.io/issues/22
Example
https://spatie.beinto the "terminal"Why
This happens because of this line, which sets the form's
actionattribute to whatever was written in the input.Solution
Ideally, when the user enters a full URL, it'll parse the input and post to whatever it was without the scheme (
https://,ftp://), in the example's case justspatie.be.@freekmurze commented on GitHub (Oct 30, 2017):
We'll handle it further in #24