diff options
| author | 2016-08-28 13:57:18 +0200 | |
|---|---|---|
| committer | 2016-08-28 13:57:18 +0200 | |
| commit | 1a0f11ee3862d54b561185d9db3ff1f1a3947fff (patch) | |
| tree | 1fa6e327ae3bddf647c435925ad12254bf70f594 /app/Models/Feed.php | |
| parent | 961407b4e0546dd38a696a650898fcefbe2d6c8c (diff) | |
PSHB base_url bug
https://github.com/FreshRSS/FreshRSS/issues/1227
Bug if base_url does not end with /
Diffstat (limited to 'app/Models/Feed.php')
| -rw-r--r-- | app/Models/Feed.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Models/Feed.php b/app/Models/Feed.php index 986cc5015..9855ca742 100644 --- a/app/Models/Feed.php +++ b/app/Models/Feed.php @@ -446,7 +446,7 @@ class FreshRSS_Feed extends Minz_Model { Minz_Log::warning('Invalid JSON for PubSubHubbub: ' . $this->url); return false; } - $callbackUrl = checkUrl(FreshRSS_Context::$system_conf->base_url . 'api/pshb.php?k=' . $hubJson['key']); + $callbackUrl = checkUrl(Minz_Request::getBaseUrl() . '/api/pshb.php?k=' . $hubJson['key']); if ($callbackUrl == '') { Minz_Log::warning('Invalid callback for PubSubHubbub: ' . $this->url); return false; |
