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

Issue 3459043: code review 3459043: godashboard: support submitting projects with non-ascii... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 4 months ago by rmmh
Modified:
14 years, 4 months ago
Reviewers:
CC:
adg, rsc, golang-dev
Visibility:
Public.

Description

godashboard: support submitting projects with non-ascii names Fixes issue 1314.

Patch Set 1 #

Patch Set 2 : code review 3459043: godashboard: support submitting projects with non-ascii... #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
M misc/dashboard/godashboard/package.py View 1 chunk +5 lines, -0 lines 0 comments Download
M misc/dashboard/godashboard/project-notify.txt View 1 chunk +1 line, -1 line 1 comment Download
A misc/dashboard/godashboard/toutf8.py View 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 12
rmmh
Hello adg (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 4 months ago (2010-12-08 23:24:28 UTC) #1
adg
So this makes it easier to edit a project with a utf8 name? is that ...
14 years, 4 months ago (2010-12-08 23:43:55 UTC) #2
rmmh
It's a fix for http://code.google.com/p/go/issues/detail?id=1314 Specifically, {{project.name|urlencode}} throws an error if project.name is a unicode ...
14 years, 4 months ago (2010-12-09 00:00:50 UTC) #3
adg
On 9 December 2010 11:00, <hitchmanr@gmail.com> wrote: > It's a fix for http://code.google.com/p/go/issues/detail?id=1314 Please 'hg ...
14 years, 4 months ago (2010-12-09 00:44:45 UTC) #4
rmmh
On 2010/12/09 00:44:45, adg wrote: > Please 'hg change 3459043' and add "Fixes issue 1314." ...
14 years, 4 months ago (2010-12-09 03:11:03 UTC) #5
rsc
I think the solution should be to make project.name be a UTF-8-encoded string already instead ...
14 years, 4 months ago (2010-12-09 15:13:33 UTC) #6
rmmh
On 2010/12/09 15:13:33, rsc wrote: > I think the solution should be to make > ...
14 years, 4 months ago (2010-12-09 19:22:37 UTC) #7
adg
http://codereview.appspot.com/3459043/diff/2001/misc/dashboard/godashboard/project-notify.txt File misc/dashboard/godashboard/project-notify.txt (right): http://codereview.appspot.com/3459043/diff/2001/misc/dashboard/godashboard/project-notify.txt#newcode8 misc/dashboard/godashboard/project-notify.txt:8: http://godashboard.appspot.com/project/edit?name={{project.name|toutf8|urlencode}} Has something been dropped from this CL? Surely ...
14 years, 4 months ago (2010-12-12 23:29:39 UTC) #8
adg
Ping
14 years, 4 months ago (2010-12-15 00:52:34 UTC) #9
rmmh
I'm pretty sure this is the only place it needs to be escaped. urlencode is ...
14 years, 4 months ago (2010-12-15 00:54:54 UTC) #10
adg
*** Submitted as http://code.google.com/p/go/source/detail?r=8f047bce6638 *** godashboard: support submitting projects with non-ascii names Fixes issue 1314. ...
14 years, 4 months ago (2010-12-15 01:07:39 UTC) #11
adg
14 years, 4 months ago (2010-12-15 01:07:47 UTC) #12
LGTM

Alrighty, makes sense.

On 15 December 2010 11:54,  <hitchmanr@gmail.com> wrote:
> I'm pretty sure this is the only place it needs to be escaped. urlencode
> is the only filter being used that doesn't handle Unicode properly, and
> a URL containing the project name is only made in the mail template.
>
> http://codereview.appspot.com/3459043/
>
Sign in to reply to this message.

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