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

Issue 186278: Fix post makeRequest encoding

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

Description

Use request encoding when converting post data.

Patch Set 1 #

Total comments: 7

Patch Set 2 : Add toUpper for encoding #

Patch Set 3 : Move post data convertion to separate function so it can be overrided #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -6 lines) Patch
java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java View 1 2 4 chunks +23 lines, -6 lines 0 comments Download

Messages

Total messages: 13
zhoresh
14 years, 3 months ago (2010-01-22 17:28:26 UTC) #1
beaton
http://codereview.appspot.com/186278/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java (right): http://codereview.appspot.com/186278/diff/1/2#newcode119 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java:119: encoding = "UTF-8"; Why would we ever receive a ...
14 years, 3 months ago (2010-01-22 18:16:56 UTC) #2
Paul Lindner
http://codereview.appspot.com/186278/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java (right): http://codereview.appspot.com/186278/diff/1/2#newcode119 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java:119: encoding = "UTF-8"; On 2010/01/22 18:16:57, beaton wrote: > ...
14 years, 3 months ago (2010-01-22 21:03:16 UTC) #3
zhoresh
Add toUpper for encoding
14 years, 3 months ago (2010-01-22 22:22:03 UTC) #4
fargo
On Fri, Jan 22, 2010 at 1:03 PM, <lindner@inuus.com> wrote: > > http://codereview.appspot.com/186278/diff/1/2 > File ...
14 years, 3 months ago (2010-01-22 22:41:32 UTC) #5
beaton
http://codereview.appspot.com/186278/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java (right): http://codereview.appspot.com/186278/diff/1/2#newcode119 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java:119: encoding = "UTF-8"; Sure. But why would our client ...
14 years, 3 months ago (2010-01-24 23:09:49 UTC) #6
awiner1
http://codereview.appspot.com/186278/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java (right): http://codereview.appspot.com/186278/diff/1/2#newcode119 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java:119: encoding = "UTF-8"; On 2010/01/24 23:09:49, beaton wrote: > ...
14 years, 3 months ago (2010-01-26 22:06:49 UTC) #7
beaton
http://codereview.appspot.com/186278/diff/1/2 File java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java (right): http://codereview.appspot.com/186278/diff/1/2#newcode119 java/gadgets/src/main/java/org/apache/shindig/gadgets/servlet/MakeRequestHandler.java:119: encoding = "UTF-8"; I love browser quirks. I think ...
14 years, 3 months ago (2010-01-27 18:52:38 UTC) #8
zhoresh
Thanks for all the research here, but I think we are getting a bit off ...
14 years, 3 months ago (2010-01-28 05:43:47 UTC) #9
zhoresh
Move post data convertion to separate function so it can be overrided
14 years, 3 months ago (2010-01-28 18:27:38 UTC) #10
Paul Lindner
point taken... I've been running my JVMs with UTF-8 charset forever, and didn't consider this. ...
14 years, 3 months ago (2010-01-29 01:55:00 UTC) #11
fargo
Thanks Paul, I was just about to get to it myself. On Thu, Jan 28, ...
14 years, 3 months ago (2010-01-29 02:10:13 UTC) #12
Paul Lindner
14 years, 3 months ago (2010-01-29 02:23:54 UTC) #13
I committed this, however on 2nd thought I think we need to insure that
patches get routed through Jira so that the 'grant license to apache' pieces
work.

zhoresh can you please file a jira and attach the latest version of the
patch from codereview?  Thanks!


On Thu, Jan 28, 2010 at 6:10 PM, John Hjelmstad <fargo@google.com> wrote:

> Thanks Paul, I was just about to get to it myself.
>
>
> On Thu, Jan 28, 2010 at 5:55 PM, <lindner@inuus.com> wrote:
>
>> point taken... I've been running my JVMs with UTF-8 charset forever, and
>> didn't consider this.  I'll apply this.
>>
>> Thanks
>>
>>
>>
>> http://codereview.appspot.com/186278/show
>>
>
>
Sign in to reply to this message.

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