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

workaround for El Capitan #195

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

workaround for El Capitan #195

wants to merge 1 commit into from

Conversation

dkavraal
Copy link

/:404 error, devtools:403 error and Cross-origin-not-allowed error.

Issue#190
Issue#194

Thanks to comments of kenichi and julien gomez

@nickplee
Copy link

+1

Copy link

@asmallteapot asmallteapot left a comment

Choose a reason for hiding this comment

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

Hi @dkavraal, thank you for submitting these changes! I left one minor note about a log statement that should be removed, and have one other question before merging: Is there any way we could restrict the cross-origins we allow to prevent any possible security issues?

@@ -209,13 +218,14 @@ class Gateway(PonydCommand):
"""Runs PonyDebugger's gateway"""
__subcommand__ = 'serve'

print "Running command-line. ok."

Choose a reason for hiding this comment

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

Could you please remove this log statement?

@@ -94,6 +94,9 @@ class DeviceHandler(tornado.websocket.WebSocketHandler):
page = None
devTools = None

def check_origin(self, origin):

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

Just saw. Sorry, for a while I won't have the chance to check this.

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