Skip to content
This repository has been archived by the owner on Jan 24, 2019. It is now read-only.

Refactor pass_access_token changes from #80 #81

Merged
merged 4 commits into from
Apr 7, 2015

Conversation

mbland
Copy link
Contributor

@mbland mbland commented Apr 5, 2015

This attempts to better encapsulate the changes from #80 and adds some more tests.

Mike Bland added 3 commits April 7, 2015 05:53
Moves the check from NewOauthProxy() to Options.Validate() and adds a test.
Extracts buildCookieValue() and parseCookieValue() from OauthProxy.ServeHTTP()
and adds tests for both.
@mbland mbland changed the title Refactor pass_access_code changes from #80 Refactor pass_access_token changes from #80 Apr 7, 2015
@mbland
Copy link
Contributor Author

mbland commented Apr 7, 2015

@jehiah: Ping... Just wondering if this is on your radar, or if there's any objections. Thanks!

And on a side note, what do you think about lowercasing all email addresses for comparison? (Just hit a case-sensitivity issue.) Happy to send on another PR to do that, if you're not sick of me by now. :-)

@jehiah
Copy link
Member

jehiah commented Apr 7, 2015

oops sorry. I saw this previously but it then slipped my mind. this LGTM.

(and yes, I'm totally cool for case insensitive email comparisons)

jehiah added a commit that referenced this pull request Apr 7, 2015
Refactor pass_access_token changes from #80
@jehiah jehiah merged commit 9534808 into bitly:master Apr 7, 2015
@mbland
Copy link
Contributor Author

mbland commented Apr 7, 2015

Cool, thanks! Hacking on it now.

@mbland mbland deleted the access-token-refactor branch April 7, 2015 20:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants