Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(22)

Issue 850046: make trusted parameters override existing parameters

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by jcai
Modified:
14 years ago
Reviewers:
beaton, Paul Lindner, shindig.remailer, mat.mannion, chirag
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Patch Set 1 #

Patch Set 2 : a #

Total comments: 19

Patch Set 3 : aa #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -8 lines) Patch
M java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java View 1 2 4 chunks +42 lines, -6 lines 2 comments Download
M java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/testing/FakeOAuthServiceProvider.java View 1 1 chunk +5 lines, -1 line 0 comments Download
M java/gadgets/src/test/java/org/apache/shindig/gadgets/oauth/OAuthRequestTest.java View 1 2 2 chunks +72 lines, -1 line 0 comments Download

Messages

Total messages: 11
jcai
14 years ago (2010-04-14 20:21:53 UTC) #1
beaton
overrideParameters is using an N^2 algorithm due to searches and removals from an ArrayList. The ...
14 years ago (2010-04-14 21:17:56 UTC) #2
jcai
On 2010/04/14 21:17:56, beaton wrote: > overrideParameters is using an N^2 algorithm due to searches ...
14 years ago (2010-04-15 01:27:19 UTC) #3
jcai
14 years ago (2010-04-15 01:28:24 UTC) #4
beaton
http://codereview.appspot.com/850046/diff/4001/5002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java (right): http://codereview.appspot.com/850046/diff/4001/5002#newcode408 java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java:408: private void overrideParameters(List<Parameter> params) { rename this parameter authParams? ...
14 years ago (2010-04-15 02:40:18 UTC) #5
jcai
http://codereview.appspot.com/850046/diff/4001/5002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java (right): http://codereview.appspot.com/850046/diff/4001/5002#newcode408 java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java:408: private void overrideParameters(List<Parameter> params) { On 2010/04/15 02:40:19, beaton ...
14 years ago (2010-04-15 04:56:59 UTC) #6
beaton
LGTM.
14 years ago (2010-04-15 05:17:30 UTC) #7
mat.mannion
http://codereview.appspot.com/850046/diff/4001/5002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java (right): http://codereview.appspot.com/850046/diff/4001/5002#newcode425 java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java:425: while (it.hasNext()) { Maybe use for (Map.Entry<String, String> param ...
14 years ago (2010-04-15 07:45:24 UTC) #8
jcai
http://codereview.appspot.com/850046/diff/4001/5002 File java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java (right): http://codereview.appspot.com/850046/diff/4001/5002#newcode425 java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java:425: while (it.hasNext()) { On 2010/04/15 07:45:25, mat.mannion wrote: > ...
14 years ago (2010-04-15 14:29:02 UTC) #9
chirag
http://codereview.appspot.com/850046/diff/9001/7003 File java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java (right): http://codereview.appspot.com/850046/diff/9001/7003#newcode424 java/gadgets/src/main/java/org/apache/shindig/gadgets/oauth/OAuthRequest.java:424: + ", trusted parameter must start with 'oauth' 'xoauth'or ...
14 years ago (2010-04-15 23:33:17 UTC) #10
beaton
14 years ago (2010-04-20 05:32:29 UTC) #11
Fixed the comment.

Re: trusted parameters start with "oauth" vs "xoauth" or "opensocial"... that
ship has long-since sailed.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b