File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 17
17
use Neos \ContentRepository \Domain \Service \NodeTypeManager ;
18
18
use Neos \ContentRepository \Exception \NodeException ;
19
19
use Neos \Flow \Annotations as Flow ;
20
- use Neos \Flow \Http \BaseUriProvider ;
21
20
use Neos \Flow \Http \Component \SetHeaderComponent ;
21
+ use Neos \Flow \Http \Helper \RequestInformationHelper ;
22
22
use Neos \Flow \I18n \Service ;
23
23
use Neos \Flow \Mvc \Controller \ActionController ;
24
24
use Neos \Flow \Mvc \Routing \Exception \MissingActionNameException ;
35
35
*/
36
36
class PostController extends ActionController
37
37
{
38
- /**
39
- * @Flow\Inject
40
- * @var BaseUriProvider
41
- */
42
- protected $ baseUriProvider ;
43
-
44
38
/**
45
39
* @Flow\Inject
46
40
* @var NodeTypeManager
@@ -97,7 +91,7 @@ public function rssAction(): string
97
91
$ channel ->setTitle ($ feedTitle );
98
92
$ channel ->setDescription ($ feedDescription );
99
93
$ channel ->setFeedUri ($ feedUri );
100
- $ channel ->setWebsiteUri ($ this ->baseUriProvider -> getConfiguredBaseUriOrFallbackToCurrentRequest ( ));
94
+ $ channel ->setWebsiteUri (( string )RequestInformationHelper:: generateBaseUri ( $ this ->request -> getHttpRequest () ));
101
95
$ channel ->setLanguage ((string )$ this ->i18nService ->getConfiguration ()->getCurrentLocale ());
102
96
103
97
/* @var $postNode NodeInterface */
You can’t perform that action at this time.
0 commit comments