Skip to content

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?

"""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?

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