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

Issue 427041: Fixing chained syntax parsing when params are at the end of configured path (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 10 months ago by johnfargo
Modified:
15 years, 10 months ago
Reviewers:
zhoresh, shindig.remailer
Base URL:
http://svn.apache.org/repos/asf/shindig/trunk/
Visibility:
Public.

Description

The DefaultProxyUriManagerTest implementation was also not using the process() method to verify parsing behavior, as it ought to have. Changing the logic surfaced the issue. Thanks to Ziv Horesh for taking notice.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -29 lines) Patch
java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultProxyUriManager.java View 1 chunk +12 lines, -8 lines 1 comment Download
java/gadgets/src/test/java/org/apache/shindig/gadgets/uri/DefaultProxyUriManagerTest.java View 8 chunks +31 lines, -21 lines 0 comments Download

Messages

Total messages: 3
johnfargo
15 years, 10 months ago (2010-03-11 02:11:42 UTC) #1
zhoresh
LGTM http://codereview.appspot.com/427041/diff/1/3 File java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultProxyUriManager.java (right): http://codereview.appspot.com/427041/diff/1/3#newcode185 java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultProxyUriManager.java:185: int endIx = fullProxyUri.indexOf(endToken, startIx + startToken.length()); Maybe ...
15 years, 10 months ago (2010-03-11 02:25:17 UTC) #2
johnfargo
15 years, 10 months ago (2010-03-11 02:34:56 UTC) #3
Ha, seems reasonable. Added a bunch of commentary on this and committed.

On Wed, Mar 10, 2010 at 6:25 PM, <zhoresh@gmail.com> wrote:

> LGTM
>
>
> http://codereview.appspot.com/427041/diff/1/3
> File
>
>
>
java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultProxyUriManager.java
> (right):
>
> http://codereview.appspot.com/427041/diff/1/3#newcode185
>
>
java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultProxyUriManager.java:185:
> int endIx = fullProxyUri.indexOf(endToken, startIx +
> startToken.length());
> Maybe put some explanation/example here
> I will test you about this logic in a month ;-)
>
>
> http://codereview.appspot.com/427041/show
>
Sign in to reply to this message.

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