mirror of
https://github.com/spatie/dnsrecords.io.git
synced 2026-04-27 08:25:57 +03:00
[PR #34] [MERGED] Add support for DNS lookup of . (root) #42
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#42
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?
📋 Pull Request Information
Original PR: https://github.com/spatie/dnsrecords.io/pull/34
Author: @brendt
Created: 11/2/2017
Status: ✅ Merged
Merged: 11/2/2017
Merged by: @freekmurze
Base:
master← Head:fix-dot-root-lookup📝 Commits (2)
36ec263Add support for DNS lookup of . (root)cf4283ePrefer the POST command over the GET command📊 Changes
2 files changed (+8 additions, -1 deletions)
View changed files
📝
app/Http/Controllers/HomeController.php(+4 -1)📝
tests/Feature/DnsLookupTest.php(+4 -0)📄 Description
The PR adds support to lookup the
.(root) domain. The reason this didn't work is because browsers filter out.from the URL.So when no search query is provided in the URL, the post body is checked whether a command is sent there. If so, that command is used as a fallback, which allows
.to work. It still doesn't allow a shareable URL, but that's not possible as most browsers will filter it out before sending the GET request.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.