Version 0.0.15.11

This release fixes the webmention ednpoint discovery logic
 -----BEGIN PGP SIGNATURE-----
 
 iPQEABMKAHwFAlggmOpfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
 bnBncC5maWZ0aGhvcnNlbWFuLm5ldDg0MTlCNUExRDg4NENBRjRCMEFGOEZCMzFC
 MkM3NkFGQjE2Qzg1OUIVHGpvbm55QGpvbm55YmFybmVzLnVrAAoJEBssdq+xbIWb
 xC8Bf2SP76+p4Ey01OR8P0KR+UBmYtbl3MH+kZJ7uTZPQpNRb3TuQHjeec0Lvr3k
 Qc8+9wGAodncfHM7x9DYYpkCuphWzb//vGds9NT4I5ecY9VVQAUETKoW0L1NPMCp
 C3h+M+rn
 =QDBf
 -----END PGP SIGNATURE-----

Merge tag 'v0.0.15.11' into develop

Version 0.0.15.11

This release fixes the webmention ednpoint discovery logic
This commit is contained in:
Jonny Barnes 2016-11-07 15:08:33 +00:00
commit c08ddf8f7a
2 changed files with 5 additions and 2 deletions

View file

@ -75,7 +75,7 @@ class SendWebMentions implements ShouldQueue
$links = \GuzzleHttp\Psr7\parse_header($response->getHeader('Link'));
foreach ($links as $link) {
if (mb_stristr($link['rel'], 'webmention')) {
return $this->resolveUri($link[0], $url);
return $this->resolveUri(trim($link[0], '<>'), $url);
}
}
@ -125,7 +125,7 @@ class SendWebMentions implements ShouldQueue
public function resolveUri(string $url, string $base): string
{
$endpoint = \GuzzleHttp\Psr7\uri_for($url);
if ($endpoint->getScheme() !== null) {
if ($endpoint->getScheme() != '') {
return (string) $endpoint;
}

View file

@ -1,5 +1,8 @@
# Changelog
## Verion 0.0.15.11 (2016-11-07)
- Fix send webmention
## Version 0.0.15.10 (2016-11-07)
- Update typekits sri hash