Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d38abc
)
MDL-28569 blocks/rss_client - RSS feed autodiscovery fails with ampersands
author
Dan Poltawski
<dan.poltawski@luns.net.uk>
Tue, 2 Aug 2011 12:18:05 +0000
(13:18 +0100)
committer
Sam Hemelryk
<sam@moodle.com>
Mon, 8 Aug 2011 06:11:13 +0000
(14:11 +0800)
Simpliepie is quoting urls and we need the url to be unescaped
blocks/rss_client/editfeed.php
patch
|
blob
|
blame
|
history
diff --git
a/blocks/rss_client/editfeed.php
b/blocks/rss_client/editfeed.php
index
38eeb48
..
5711917
100644
(file)
--- a/
blocks/rss_client/editfeed.php
+++ b/
blocks/rss_client/editfeed.php
@@
-140,7
+140,9
@@
class feed_edit_form extends moodleform {
return $url;
}
- return $rss->subscribe_url();
+ // return URL without quoting..
+ $discoveredurl = new moodle_url($rss->subscribe_url());
+ return $discoveredurl->out(false);
}
}