-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
accept webmention verification for pages with only mf1
if the document contains a link to the target, but that link is not in the parsed result, don't return an error, but also don't return the parsed document closes #150
- Loading branch information
Showing
8 changed files
with
163 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
tests/data/source.example.com/target-test-link-outside-h-entry
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
HTTP/1.1 200 OK | ||
Server: Apache | ||
Date: Wed, 09 Dec 2015 03:29:14 GMT | ||
Content-Type: text/html; charset=utf-8 | ||
Connection: keep-alive | ||
|
||
<html> | ||
<head> | ||
<title>Test</title> | ||
</head> | ||
<body> | ||
<div class="h-entry"> | ||
<p class="e-content">hello world</p> | ||
</div> | ||
<nav><a href="https://target.example.com/">target</a></nav> | ||
</body> | ||
</html> |
17 changes: 17 additions & 0 deletions
17
tests/data/source.example.com/target-test-link-outside-valid-mf1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
HTTP/1.1 200 OK | ||
Server: Apache | ||
Date: Wed, 09 Dec 2015 03:29:14 GMT | ||
Content-Type: text/html; charset=utf-8 | ||
Connection: keep-alive | ||
|
||
<html> | ||
<head> | ||
<title>Test</title> | ||
</head> | ||
<body> | ||
<div class="hentry"> | ||
<p class="entry-content">hello world</p> | ||
</div> | ||
<nav><a href="https://target.example.com/">target</a></nav> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
HTTP/1.1 200 OK | ||
Server: Apache | ||
Date: Wed, 09 Dec 2015 03:29:14 GMT | ||
Content-Type: text/html; charset=utf-8 | ||
Connection: keep-alive | ||
|
||
<html> | ||
<head> | ||
<title>Test</title> | ||
</head> | ||
<body> | ||
<div class="hentry"> | ||
<p><a href="https://target.example.com/">target</a></p> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
HTTP/1.1 200 OK | ||
Server: Apache | ||
Date: Wed, 09 Dec 2015 03:29:14 GMT | ||
Content-Type: text/html; charset=utf-8 | ||
Connection: keep-alive | ||
|
||
<html> | ||
<head> | ||
<title>Test</title> | ||
</head> | ||
<body> | ||
<div class="hentry"> | ||
<p class="entry-content"><a href="https://target.example.com/">target</a></p> | ||
</div> | ||
</body> | ||
</html> |