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

[NEW] Provide site-url to outgoing integrations #15238

Merged
merged 1 commit into from
Sep 13, 2019

Conversation

mrsimpson
Copy link
Collaborator

Motivation

When notifying foreign systems about a message, it can be desirable that the remote system responds back. In order to do that, it needs to know from which system the orginal message was issued.

Implementation

In order to do that, the site-url shall be propagated to the webhook implementation which can then pass it on.

Of course, there are other options (such as setting the referrer in the HTTP-request), but sometimes it's handy to explicitly be able to handle it.

Copy link
Contributor

@graywolf336 graywolf336 left a comment

Choose a reason for hiding this comment

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

I was trying to determine if there was any way this could be exploited or a security issue, but I don't think so as most people who install integrations know what they are installing since we have no "store" or "marketplace" for them.

@ruKurz
Copy link
Contributor

ruKurz commented Sep 12, 2019

since this PR is approved, do you have a plan, when to release this?

@graywolf336 graywolf336 added this to the 2.1.0 milestone Sep 12, 2019
@sampaiodiego sampaiodiego changed the title Provide site-url to outgoing integrations [NEW] Provide site-url to outgoing integrations Sep 13, 2019
@sampaiodiego sampaiodiego merged commit 17762fe into develop Sep 13, 2019
@sampaiodiego sampaiodiego deleted the integration-site-url branch September 13, 2019 15:08
@sampaiodiego sampaiodiego mentioned this pull request Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants