Merge branch 'dev' of github.com:marienfressinaud/FreshRSS into dev

pull/161/merge
Marien Fressinaud 11 years ago
commit d97577c605
  1. 2
      app/models/Feed.php
  2. 2
      app/views/entry/bookmark.phtml
  3. 2
      app/views/entry/read.phtml

@ -172,7 +172,7 @@ class Feed extends Model {
);
} else {
$feed = new SimplePie ();
$url = preg_replace ('/&/', '&', $this->url);
$url = str_replace ('&', '&', $this->url);
if ($this->httpAuth != '') {
$url = preg_replace ('#((.+)://)(.+)#', '${1}' . $this->httpAuth . '@${3}', $url);
}

@ -12,4 +12,4 @@ $url = Url::display (array (
'params' => Request::params (),
));
echo json_encode (array ('url' => preg_replace ('#&#i', '&', $url)));
echo json_encode (array ('url' => str_ireplace ('&', '&', $url)));

@ -12,4 +12,4 @@ $url = Url::display (array (
'params' => Request::params (),
));
echo json_encode (array ('url' => preg_replace ('#&#i', '&', $url)));
echo json_encode (array ('url' => str_ireplace ('&', '&', $url)));

Loading…
Cancel
Save