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:02:51 -0400 |
commit | 98f6bbb90c8513330a4c382ef80972d861096858 (patch) | |
tree | 44b3c3e72ee80c886c23f3fdfa2774a3da2f9589 /plugins/LinkbackPlugin.php | |
parent | cd9a24798001cfa5e6ecfbfbccc5c0ce07726846 (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]; |