diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-14 16:01:02 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-14 16:01:02 -0400 |
commit | b1940bcb7b028b993b26cd3c36f4fdbbc79c96e6 (patch) | |
tree | 8085d3e65a86a1b504d81c69aa9aa90e01bc76b0 /plugins/LinkbackPlugin.php | |
parent | 4684d34713a8057387750bc52802d0c0475ec926 (diff) |
escape slash in regexp
Diffstat (limited to 'plugins/LinkbackPlugin.php')
-rw-r--r-- | plugins/LinkbackPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/LinkbackPlugin.php b/plugins/LinkbackPlugin.php index 56a26176b..881ead99e 100644 --- a/plugins/LinkbackPlugin.php +++ b/plugins/LinkbackPlugin.php @@ -99,7 +99,7 @@ class LinkbackPlugin extends Plugin if (array_key_exists('X-Pingback', $result->headers)) { $pb = $result->headers['X-Pingback']; - } else if (preg_match('/<link rel="pingback" href="([^"]+)" ?/?>/', + } else if (preg_match('/<link rel="pingback" href="([^"]+)" ?\/?>/', $result->body, $match)) { $pb = $match[1]; |