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

Review misc files from PR #75 #89

Closed
wants to merge 1 commit into from
Closed

Conversation

willingc
Copy link
Member

@todo
Copy link

todo bot commented May 10, 2019

review security #75 (comment)

// TODO: review security https://github.com/nteract/bookstore/pull/75#discussion_r280782423
var xsrf_token = getCookieByName("_xsrf");
var xhr = new XMLHttpRequest();
xhr.responseType = "json";


This comment was generated by todo based on a TODO comment in e1f8f5b in #89. cc @willingc.

@willingc willingc requested review from mpacer and captainsafia May 10, 2019 18:36
@mpacer
Copy link
Member

mpacer commented May 15, 2019

@captainsafia did I not address your concern by creating a getCookieByName function as you had requested? I'm a little confused as to what needs to be addressed here…

@captainsafia
Copy link
Member

Catching up with this conversation.

I was referring to creating a getCookieByName function that did not use regex. The getCookie method used in the notebook code base is copied from the Tornado docs. While it suffices, I think an alternate approach (like splitting on semi-colons and parsing the key values) is easier to read. It's also the approach taken by the js-cookie package that we use rx-jupyter.

@willingc willingc mentioned this pull request May 20, 2019
7 tasks
@willingc
Copy link
Member Author

Opened #104 and closing this PR in preparation for release.

@willingc willingc closed this May 29, 2019
@mpacer mpacer modified the milestones: 2.3, 2.3.0 Jun 28, 2019
@mpacer mpacer added this to the 2.4.0 milestone Dec 10, 2019
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.

Address feedback from PR #75
3 participants