Skip to content

[NEW] Set Document Domain property in IFrame#9751

Merged
rodrigok merged 8 commits intoRocketChat:developfrom
kb0304:bugfix-7474
Jun 20, 2018
Merged

[NEW] Set Document Domain property in IFrame#9751
rodrigok merged 8 commits intoRocketChat:developfrom
kb0304:bugfix-7474

Conversation

@kb0304
Copy link
Contributor

@kb0304 kb0304 commented Feb 17, 2018

@RocketChat/core

Closes #7474

Added a new setting to General section that lets you set custom document.domain property.
Also, since the setting is set before calling the custom scripts, the existing users wouldn't face issues due to the added setting option.

@sampaiodiego sampaiodiego added this to the 0.64.0 milestone Apr 3, 2018
Copy link
Member

@sampaiodiego sampaiodiego left a comment

Choose a reason for hiding this comment

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

@kb0304 thank you for you contribution.

I'm not sure about the setting location, since it is not related to Accounts, also it needs to have the iframe auth enabled to work which does not seem right as well.

do you mind changing the setting to General section and removing its dependency with Accounts_iframe_enabled ? thank you again

@kb0304 kb0304 force-pushed the bugfix-7474 branch 2 times, most recently from 0fd791a to ddef7e0 Compare April 14, 2018 17:00
@kb0304
Copy link
Contributor Author

kb0304 commented Apr 15, 2018

@sampaiodiego Thank you for the review.
I have made the requested changes, kindly review again.

@rodrigok rodrigok modified the milestones: 0.64.0, 0.66.0 May 22, 2018
@engelgabriel
Copy link
Member

@rodrigok rodrigok merged commit 93bc5c6 into RocketChat:develop Jun 20, 2018
@rodrigok rodrigok mentioned this pull request Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iframe allow set document.domain

4 participants

Comments