Merge lp:~karni/ubuntu-sso-java-library/fix-oauth-time-drift into lp:ubuntu-sso-java-library
Proposed by
Michał Karnicki
Status: | Merged |
---|---|
Merged at revision: | 17 |
Proposed branch: | lp:~karni/ubuntu-sso-java-library/fix-oauth-time-drift |
Merge into: | lp:ubuntu-sso-java-library |
Diff against target: |
181 lines (+90/-8) 3 files modified
src/com/ubuntu/sso/UbuntuSingleSignOnAPI.java (+22/-0) src/com/ubuntu/sso/authorizer/OAuthAuthorizer.java (+66/-7) src/com/ubuntu/sso/util/ValidationUtil.java (+2/-1) |
To merge this branch: | bzr merge lp:~karni/ubuntu-sso-java-library/fix-oauth-time-drift |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chad Miller (community) | Needs Information | ||
Review via email: mp+73034@code.launchpad.net |
Description of the change
Fixed OAuth time drift issue by overriding getTimestamp method of OAuth consumer. Before use, OAuthAuthorizer
Fixed email validation regex utility, that did not accept some correct emails.
To post a comment you must log in.
Do we really need email validation outside of actually trying it?
I'm pretty sure "[1539137169] !chad.miller" should be valid. The mail system implements mail standards better than we can. We should be able to dump a message into it, and let the transit itself be our validation.
Who owns that? Can we add @Deprecated on that boolean isValidEmail(String email) method?