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

Introduce HTML viewer to display html file on azkaban #280

Merged
merged 3 commits into from
Feb 22, 2018

Conversation

qil026
Copy link
Contributor

@qil026 qil026 commented Feb 22, 2018

Currently html files are treated as plain text on azkaban, for super simple html files, that works fine since they are still readable. For complicated and large html files, this will be unreadable. The new html viewer allows user to open up html files and view it like an actual html file. This viewer is used to display files with ".htm" or ".html" extension.

@@ -0,0 +1,22 @@
/*
* Copyright 2014 LinkedIn Corp.
Copy link
Contributor

Choose a reason for hiding this comment

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

2018

@@ -0,0 +1,80 @@
/*
* Copyright 2012 LinkedIn Corp.
Copy link
Contributor

Choose a reason for hiding this comment

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

2018

@burgerkingeater burgerkingeater merged commit 767973a into azkaban:master Feb 22, 2018
burgerkingeater added a commit that referenced this pull request Feb 27, 2018
burgerkingeater added a commit that referenced this pull request Feb 27, 2018
…#282)

This reverts commit 767973a.

Showing HTML based user content in a browser as HTML has security implications. e.g it may introduce additional cross site scripting vulnerability if not done properly. We need to block JavaScript execution before merging the change.
@HappyRay
Copy link

@chengren311 in the future, please describe the reason for the revert in the commit message. Thanks

@burgerkingeater
Copy link
Contributor

@HappyRay sure, thanks for reminder.

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.

3 participants