aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2013-12-27 03:31:28 +0530
committerDhruv <dhruv.goel92@gmail.com>2013-12-27 03:31:28 +0530
commit1aa27f400cc6ece19775c5851c2e86db1a657df8 (patch)
tree43652e98dd5ecc933c934da573ac97226b2b0729
parenta71625ca76344098a6e207928b839de576cdabb6 (diff)
downloadforums-1aa27f400cc6ece19775c5851c2e86db1a657df8.tar
forums-1aa27f400cc6ece19775c5851c2e86db1a657df8.tar.gz
forums-1aa27f400cc6ece19775c5851c2e86db1a657df8.tar.bz2
forums-1aa27f400cc6ece19775c5851c2e86db1a657df8.tar.xz
forums-1aa27f400cc6ece19775c5851c2e86db1a657df8.zip
[ticket/11271] Make path conversion more precise
PHPBB3-11271
-rw-r--r--phpBB/feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index ccc1c6ec1e..04bb0f40ea 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -360,7 +360,7 @@ function feed_generate_content($content, $uid, $bitfield, $options, $forum_id, $
$content = preg_replace('#(?:[\x00-\x1F\x7F]+|(?:\xC2[\x80-\x9F])+)#', '', $content);
// Convert attachments' relative path to absolute path
- $content = str_replace($phpbb_root_path . 'download', $board_url . '/download', $content);
+ $content = str_replace($phpbb_root_path . 'download/file.' . $phpEx, $board_url . '/download/file.' . $phpEx, $content);
return $content;
}