Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

workaround for El Capitan#195

Open
dkavraal wants to merge 1 commit intosquare:master from
dkavraal:master
Open

workaround for El Capitan #195
dkavraal wants to merge 1 commit intosquare:master from
dkavraal:master

Conversation

@dkavraal
Copy link

@dkavraal dkavraal commented Jun 29, 2016

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

Issue#190
Issue#194

Thanks to comments of kenichi and julien gomez

Copy link

+1

Copy link

@asmallteapot asmallteapot left a comment
edited
Loading

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."
Copy link

@asmallteapot asmallteapot Jul 3, 2018

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):
Copy link

@asmallteapot asmallteapot Jul 3, 2018

Choose a reason for hiding this comment

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

Copy link
Author

@dkavraal dkavraal Jul 6, 2018

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

Reviewers

1 more reviewer

@asmallteapot asmallteapot asmallteapot requested changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /