summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-14 16:01:02 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-14 16:01:02 -0400
commitb1940bcb7b028b993b26cd3c36f4fdbbc79c96e6 (patch)
tree8085d3e65a86a1b504d81c69aa9aa90e01bc76b0
parent4684d34713a8057387750bc52802d0c0475ec926 (diff)
escape slash in regexp
-rw-r--r--plugins/LinkbackPlugin.php2
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];