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

feat(FEC-14189): Ingore referrer kaltura.com in friendly iframe #870

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MosheMaorKaltura
Copy link
Contributor

Description of the Changes

Please add a detailed description of the change, whether it's an enhancement or a bugfix.
If the PR is related to an open issue please link to it.

Issue:
When open player iframe on new tab, its referrer is kaltura.com, in such case site based access control will reject it.

Fix:
If we are in friendly iframe and domain is kaltura.com, we ignore it and return the domain that the backend embed inside the iframe bundle

Resolves FEC-14189

Copy link
Contributor

@lianbenjamin lianbenjamin left a comment

Choose a reason for hiding this comment

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

looks ok to me. just note the lint errors.
you can see them in your terminal if you run lint script.
you can fix them 1 by 1 manually or try to use the lint:fix script (it might include more files than you need, so note the files that were changed and that you want to push).

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.

3 participants