Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(river): rss layout supports mulitple installations in the same host #7382

Merged
merged 1 commit into from
Oct 24, 2014

Conversation

jeabakker
Copy link
Member

When there are more installations of Elgg on the same host the river
items would not be unique across the multiple installations.

fixes: #7019

When there are more installations of Elgg on the same host the river
items would not be unique across the multiple installations.

fixes: Elgg#7019
@beck24
Copy link
Member

beck24 commented Oct 24, 2014

LGTM

beck24 added a commit that referenced this pull request Oct 24, 2014
fix(river): rss layout supports mulitple installations in the same host
@beck24 beck24 merged commit 57bcb12 into Elgg:1.x Oct 24, 2014
@@ -24,9 +24,14 @@

$site_url = parse_url(elgg_get_site_url());
$domain = htmlspecialchars($site_url['host'], ENT_NOQUOTES, 'UTF-8');
$path = '';
if ($site_url['path']) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since we normalize URLs to end with a "/", won't this always be true?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just put the whole site URL in there. That way also covers sites that could conceivably have different sites on 80/443.

@jeabakker jeabakker deleted the river-rss-layout branch October 13, 2016 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants