[gwt-contrib] Re: Don't allow SafeHtml strings to end in a script or style context. (issue1608803)

2011-12-10 Thread xtof
On 2011/12/08 18:29:14, jlabanca wrote: LGTM LGTM http://gwt-code-reviews.appspot.com/1608803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Change SafeHtmlHostedModeUtils.isCompleteHtml() to public. (issue1606804)

2011-12-07 Thread xtof
On 2011/12/07 19:38:28, mdempsky wrote: LGTM. http://gwt-code-reviews.appspot.com/1606804/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Rewrite SafeUriHostedModeUtils#isValid without regexp (issue1449814)

2011-06-09 Thread xtof
LGTM. Also, jlabanca kindly offered to submit this patch for you. Thanks! --xtof http://gwt-code-reviews.appspot.com/1449814/diff/5/user/src/com/google/gwt/safehtml/shared/SafeUriHostedModeUtils.java File user/src/com/google/gwt/safehtml/shared/SafeUriHostedModeUtils.java (right): http

[gwt-contrib] Re: Rewrite SafeUriHostedModeUtils#isValid without regexp (issue1449814)

2011-06-08 Thread xtof
http://gwt-code-reviews.appspot.com/1449814/diff/1/user/src/com/google/gwt/safehtml/shared/SafeUriHostedModeUtils.java File user/src/com/google/gwt/safehtml/shared/SafeUriHostedModeUtils.java (right):

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1447812)

2011-06-06 Thread xtof
http://gwt-code-reviews.appspot.com/1447812/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Disable regex checking of URLs in SafeUriHostedModeUtils; this regex appears to (issue1443813)

2011-06-06 Thread xtof
/safehtml/shared/SafeUriHostedModeUtils.java (working copy) @@ -104,9 +104,11 @@ } private static boolean isValidUri(String uri) { -if (!uri.matches(HREF_UCSCHAR)) { - return false; -} +// TODO(xtof): The regex appears to cause stack overflows in some cases

[gwt-contrib] Re: Disable regex checking of URLs in SafeUriHostedModeUtils; this regex appears to (issue1443813)

2011-06-06 Thread xtof
http://gwt-code-reviews.appspot.com/1443813/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Make UriUtils#unsafeCastFromUntrustedString gracefully handle null for (issue1443814)

2011-06-06 Thread xtof
Reviewers: tbroyer, jlabanca, jat, pdr, rjrjr, Description: Make UriUtils#unsafeCastFromUntrustedString gracefully handle null for backwards compatibility. Please review this at http://gwt-code-reviews.appspot.com/1443814/ Affected files: M

[gwt-contrib] Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1446815)

2011-06-03 Thread xtof
Reviewers: tbroyer, jlabanca, jat, skybrian, Description: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. Support SafeUri-typed arguments in SafeHtmlTemplates. Also added a few overloads in c.g.g.user.client. Note that this is a breaking change in the sense

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1447812)

2011-06-03 Thread xtof
http://gwt-code-reviews.appspot.com/1447812/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1447812)

2011-06-03 Thread xtof
Thanks for the review! Please take another look... --xtof http://gwt-code-reviews.appspot.com/1447812/diff/1/tools/api-checker/config/gwt23_24userApi.conf File tools/api-checker/config/gwt23_24userApi.conf (right): http://gwt-code-reviews.appspot.com/1447812/diff/1/tools/api-checker/config

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1447812)

2011-06-03 Thread xtof
/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java#newcode432 user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java:432: if (isSafeUri(parameterType)) { On 2011/06/03 17:00:04, jlabanca wrote: On 2011/06/03 07:39:23, xtof wrote: On 2011/06/02 13:47:05, jlabanca

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1447812)

2011-06-02 Thread xtof
http://gwt-code-reviews.appspot.com/1447812/diff/1/user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java File user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java (right):

[gwt-contrib] Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1447812)

2011-06-01 Thread xtof
Reviewers: tbroyer, jlabanca, jat, skybrian, Description: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. Support SafeUri-typed arguments in SafeHtmlTemplates. Also added a few overloads in c.g.g.user.client. Note that this is a breaking change in the sense

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1447812)

2011-06-01 Thread xtof
This is a continuation of the review of http://gwt-code-reviews.appspot.com/1380806, authored by http://gwt-code-reviews.appspot.com/user/tbroyer, to capture minor changes made by the submitter. For the main code review discussion, see issue 1380806.

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1380806)

2011-05-31 Thread xtof
On 2011/06/01 00:10:58, tbroyer wrote: On 2011/05/31 23:38:17, xtof wrote: My apologies dropping the response on this thread (I'd missed the last question and had assumed this was good to submit). Also, I didn't realize that I actually need to fetch and submit this patch (I'm not part

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1380806)

2011-05-03 Thread xtof
http://gwt-code-reviews.appspot.com/1380806/diff/28033/user/src/com/google/gwt/safehtml/shared/SafeUri.java File user/src/com/google/gwt/safehtml/shared/SafeUri.java (right): http://gwt-code-reviews.appspot.com/1380806/diff/28033/user/src/com/google/gwt/safehtml/shared/SafeUri.java#newcode41

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1380806)

2011-04-27 Thread xtof
/Image.java (right): http://gwt-code-reviews.appspot.com/1380806/diff/25001/user/src/com/google/gwt/user/client/ui/Image.java#newcode144 user/src/com/google/gwt/user/client/ui/Image.java:144: private String url = null; On 2011/04/23 14:36:22, tbroyer wrote: On 2011/04/18 16:22:32, xtof wrote: I'm still

[gwt-contrib] Re: First step of isolating a bunch of code that is used for generating (issue1422807)

2011-04-27 Thread xtof
LGTM http://gwt-code-reviews.appspot.com/1422807/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1380806)

2011-04-18 Thread xtof
Thanks! just a few more comments, otherwise pretty much LGTM. http://gwt-code-reviews.appspot.com/1380806/diff/25001/user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java File user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java (right):

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1380806)

2011-04-18 Thread xtof
/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java#newcode302 user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java:302: if (HtmlContext.Type.URL_ATTRIBUTE_START == contextType) { On 2011/04/18 17:03:27, tbroyer wrote: On 2011/04/18 16:22:32, xtof wrote

[gwt-contrib] Re: Escape single characters in SafeHtmlBuilder/SafeHtmlUtils (external issue 6222) (issue1413802)

2011-04-12 Thread xtof
LGTM. http://gwt-code-reviews.appspot.com/1413802/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Adding a new annotation SafeHtmlTemplates.SafeForCss to specify that a parameter is known to be ... (issue1384801)

2011-04-11 Thread xtof
LGTM! http://gwt-code-reviews.appspot.com/1384801/diff/8001/user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java File user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java (right):

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1380806)

2011-04-10 Thread xtof
scheme and URI/%-escapes characters not in the allowed charset (or maybe rejects URLs with certain funny characters in them). I'll have to do some reading up on what characters are OK in the URI in a CSS context, will get back to you on that. Thanks again for all your work on this! --xtof http

[gwt-contrib] Re: Adding a new annotation SafeHtmlTemplates.SafeForCss to specify that a parameter is known to be ... (issue1384801)

2011-04-06 Thread xtof
/SafeHtmlTemplatesImplMethodCreator.java#newcode176 user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java:176: // TODO(xtof): Throw an exception if using SafeHtml within an attribute. I think you can remove this TODO, isn't this handled now in your new checks at the start

[gwt-contrib] Re: Adds support for the URL_ATTRIBUTE_ENTIRE parse context to HtmlTemplateParser. (issue1396803)

2011-04-05 Thread xtof
http://gwt-code-reviews.appspot.com/1396803/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Adds support for the URL_ATTRIBUTE_ENTIRE parse context to HtmlTemplateParser. (issue1396803)

2011-04-05 Thread xtof
of, or in addition to, testing isUrlStart, add a test for HTML5_URI_ATTRIBUTES.contains(streamHtmlParser.getAttribute()). Thanks for bringing this up. I think addressing this in the parser is the right place. I know the author of the parser and will bring this up with him. Thanks again! --xtof

[gwt-contrib] Re: Adds support for the URL_ATTRIBUTE_ENTIRE parse context to HtmlTemplateParser. (issue1396803)

2011-04-05 Thread xtof
http://gwt-code-reviews.appspot.com/1396803/diff/1/user/src/com/google/gwt/safehtml/rebind/HtmlTemplateParser.java File user/src/com/google/gwt/safehtml/rebind/HtmlTemplateParser.java (right):

[gwt-contrib] Adds support for the URL_ATTRIBUTE_ENTIRE parse context to HtmlTemplateParser. (issue1396803)

2011-03-30 Thread xtof
Reviewers: jlabanca, tbroyer, Description: Adds support for the URL_ATTRIBUTE_ENTIRE parse context to HtmlTemplateParser. Please review this at http://gwt-code-reviews.appspot.com/1396803/ Affected files: M user/src/com/google/gwt/safehtml/rebind/HtmlTemplateParser.java M

[gwt-contrib] Adds support for the CSS_ATTRIBUTE_START parse context to HtmlTemplateParser. (issue1392801)

2011-03-29 Thread xtof
Reviewers: jlabanca, pdr, Description: Adds support for the CSS_ATTRIBUTE_START parse context to HtmlTemplateParser. Please review this at http://gwt-code-reviews.appspot.com/1392801/ Affected files: M user/src/com/google/gwt/safehtml/rebind/HtmlTemplateParser.java M

[gwt-contrib] Re: Adds support for the CSS_ATTRIBUTE_START parse context to HtmlTemplateParser. (issue1392801)

2011-03-29 Thread xtof
http://gwt-code-reviews.appspot.com/1392801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1380806)

2011-03-29 Thread xtof
(ENTIRE_URL_ATTRIBUTE). Thanks! --xtof http://gwt-code-reviews.appspot.com/1380806/diff/5003/user/src/com/google/gwt/user/client/ui/Image.java File user/src/com/google/gwt/user/client/ui/Image.java (right): http://gwt-code-reviews.appspot.com/1380806/diff/5003/user/src/com/google/gwt/user/client

[gwt-contrib] Re: Adds support for the CSS_ATTRIBUTE_START parse context to HtmlTemplateParser. (issue1392801)

2011-03-29 Thread xtof
On 2011/03/29 19:30:16, jlabanca wrote: LGTM I don't actually see the TODO though. You can add it before submitting. Oops, forgot to export git before uploading. Done. Thanks! --xtof http://gwt-code-reviews.appspot.com/1392801/ -- http://groups.google.com/group/Google-Web-Toolkit

[gwt-contrib] Re: Adds support for the CSS_ATTRIBUTE_START parse context to HtmlTemplateParser. (issue1392801)

2011-03-29 Thread xtof
http://gwt-code-reviews.appspot.com/1392801/ -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Add missing CSS_ATTRIBUTE_START case in SafeHtmlTemplates code generator. (issue1395803)

2011-03-29 Thread xtof
/SafeHtmlTemplatesImplMethodCreator.java (revision 9912) +++ user/src/com/google/gwt/safehtml/rebind/SafeHtmlTemplatesImplMethodCreator.java (working copy) @@ -245,6 +245,7 @@ break; case CSS_ATTRIBUTE: + case CSS_ATTRIBUTE_START: // TODO(xtof): Improve support for CSS

[gwt-contrib] Re: Add SafeUri type, similar to SafeHtml but for values in a URL attribute context. (issue1380806)

2011-03-23 Thread xtof
http://gwt-code-reviews.appspot.com/1380806/diff/1/user/src/com/google/gwt/cell/client/ImageCell.java File user/src/com/google/gwt/cell/client/ImageCell.java (right): http://gwt-code-reviews.appspot.com/1380806/diff/1/user/src/com/google/gwt/cell/client/ImageCell.java#newcode58

[gwt-contrib] Re: Adding a new annotation SafeHtmlTemplates.SafeForCss to specify that a parameter is known to be ... (issue1384801)

2011-03-14 Thread xtof
http://gwt-code-reviews.appspot.com/1384801/diff/3008/user/src/com/google/gwt/safecss/shared/SafeCssProperties.java File user/src/com/google/gwt/safecss/shared/SafeCssProperties.java (right):

[gwt-contrib] Re: Adding a new annotation SafeHtmlTemplates.SafeForCss to specify that a parameter is known to be ... (issue1384801)

2011-03-14 Thread xtof
http://gwt-code-reviews.appspot.com/1384801/diff/6006/user/src/com/google/gwt/safecss/shared/SafeCssProperties.java File user/src/com/google/gwt/safecss/shared/SafeCssProperties.java (right):

[gwt-contrib] Re: SafeHtml Rendering for UiBinder (issue1305801)

2011-03-09 Thread xtof
This is really great! It pretty much completely removes uibinder out of the security-relevant codebase. http://gwt-code-reviews.appspot.com/1305801/diff/55001/user/src/com/google/gwt/uibinder/elementparsers/HtmlMessageInterpreter.java File

[gwt-contrib] Re: This change adds couple of things: (issue1251801)

2011-01-13 Thread xtof
http://gwt-code-reviews.appspot.com/1251801/diff/44001/45010 File user/src/com/google/gwt/user/server/Util.java (right): http://gwt-code-reviews.appspot.com/1251801/diff/44001/45010#newcode76 user/src/com/google/gwt/user/server/Util.java:76: * @throws IllegalStateException if duplicate cookies

[gwt-contrib] Re: This change adds couple of things: (issue1251801)

2011-01-12 Thread xtof
Hey Meder, looks good! I have a couple more comments, also in the tests which I hadn't looked at in detail yet... cheers --xtof http://gwt-code-reviews.appspot.com/1251801/diff/30001/31010 File user/src/com/google/gwt/user/server/Util.java (right): http://gwt-code-reviews.appspot.com

[gwt-contrib] Re: This change adds couple of things: (issue1251801)

2011-01-12 Thread xtof
http://gwt-code-reviews.appspot.com/1251801/diff/30001/31010 File user/src/com/google/gwt/user/server/Util.java (right): http://gwt-code-reviews.appspot.com/1251801/diff/30001/31010#newcode76 user/src/com/google/gwt/user/server/Util.java:76: if (cookieName == null || request == null) { On

[gwt-contrib] Re: This change adds couple of things: (issue1251801)

2011-01-10 Thread xtof
http://gwt-code-reviews.appspot.com/1251801/diff/11001/12005 File user/src/com/google/gwt/user/server/rpc/AbstractXsrfProtectedServiceServlet.java (right): http://gwt-code-reviews.appspot.com/1251801/diff/11001/12005#newcode80

[gwt-contrib] Re: This change adds couple of things: (issue1251801)

2011-01-10 Thread xtof
http://gwt-code-reviews.appspot.com/1251801/diff/11001/12009 File user/src/com/google/gwt/user/server/rpc/XsrfTokenServiceServlet.java (right): http://gwt-code-reviews.appspot.com/1251801/diff/11001/12009#newcode192 user/src/com/google/gwt/user/server/rpc/XsrfTokenServiceServlet.java:192:

[gwt-contrib] Re: This change adds couple of things: (issue1251801)

2011-01-10 Thread xtof
:120: private boolean isCookieValueValid(String cookieValue) { On 2011/01/11 01:48:15, meder wrote: On 2011/01/11 00:32:23, xtof wrote: I'm not too fond of how this method performs two different kinds of functions, depending on how the class is configured: If the class is configured to use

[gwt-contrib] Expand self-closing div/ tag in SafeHtmlTemplate into separate open and close (issue1209801)

2010-12-09 Thread xtof
Reviewers: rice, Description: Expand self-closing div/ tag in SafeHtmlTemplate into separate open and close tag. Please review this at http://gwt-code-reviews.appspot.com/1209801/show Affected files: M user/src/com/google/gwt/user/cellview/client/CellTable.java Index:

[gwt-contrib] Re: Add support for RpcTokens, which, if set, are sent with each RPCRequest to (issue1107801)

2010-11-19 Thread xtof
LGTM! http://gwt-code-reviews.appspot.com/1107801/diff/3001/4005 File user/src/com/google/gwt/user/client/rpc/ServiceDefTarget.java (right): http://gwt-code-reviews.appspot.com/1107801/diff/3001/4005#newcode43 user/src/com/google/gwt/user/client/rpc/ServiceDefTarget.java:43: RpcToken

[gwt-contrib] Document limitations of current SafeHtmlTemplates code generator. (issue1006801)

2010-10-14 Thread xtof
Reviewers: rice, pdr, Description: Document limitations of current SafeHtmlTemplates code generator. Please review this at http://gwt-code-reviews.appspot.com/1006801/show Affected files: M user/src/com/google/gwt/safehtml/client/SafeHtmlTemplates.java Index:

[gwt-contrib] Re: Document limitations of current SafeHtmlTemplates code generator. (issue1006801)

2010-10-14 Thread xtof
http://gwt-code-reviews.appspot.com/1006801/diff/1/2 File user/src/com/google/gwt/safehtml/client/SafeHtmlTemplates.java (right): http://gwt-code-reviews.appspot.com/1006801/diff/1/2#newcode53 user/src/com/google/gwt/safehtml/client/SafeHtmlTemplates.java:53: * {...@code @Template} annotation

[gwt-contrib] Re: Document limitations of current SafeHtmlTemplates code generator. (issue1006801)

2010-10-14 Thread xtof
http://gwt-code-reviews.appspot.com/1006801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add streaming HTML parser library to tools/lib, as well as the guava library it depends on. (issue850801)

2010-09-15 Thread xtof
http://gwt-code-reviews.appspot.com/850801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Add SafeHtml support to UI widgets (2) (issue847801)

2010-09-09 Thread xtof
LGTM! http://gwt-code-reviews.appspot.com/847801/diff/8002/13005 File user/src/com/google/gwt/user/client/ui/Anchor.java (right): http://gwt-code-reviews.appspot.com/847801/diff/8002/13005#newcode117 user/src/com/google/gwt/user/client/ui/Anchor.java:117: this(html.asString(), true); This is

[gwt-contrib] Re: Add streaming HTML parser library to tools/lib, as well as the guava library it depends on. (issue850801)

2010-09-08 Thread xtof
http://gwt-code-reviews.appspot.com/850801/diff/1/11 File user/test/com/google/gwt/safehtml/SafeHtmlGwtSuite.java (right): http://gwt-code-reviews.appspot.com/850801/diff/1/11#newcode22 user/test/com/google/gwt/safehtml/SafeHtmlGwtSuite.java:22: import

[gwt-contrib] Re: Add SafeHtml support to ui widgets. (issue829801)

2010-09-07 Thread xtof
LGTM http://gwt-code-reviews.appspot.com/829801/diff/8020/24004 File user/src/com/google/gwt/user/client/ui/CheckBox.java (right): http://gwt-code-reviews.appspot.com/829801/diff/8020/24004#newcode265 user/src/com/google/gwt/user/client/ui/CheckBox.java:265: public void setSafeHtml(SafeHtml

[gwt-contrib] Cosmetic changes in safehtml package. (issue821801)

2010-08-31 Thread xtof
Reviewers: pdr, rice, Description: Cosmetic changes in safehtml package. Run SafeHtmlBuilderTest both as a GWT and a JRE test. Please review this at http://gwt-code-reviews.appspot.com/821801/show Affected files: M user/src/com/google/gwt/safehtml/shared/SafeHtmlBuilder.java M

[gwt-contrib] Re: Cosmetic changes in safehtml package. (issue821801)

2010-08-31 Thread xtof
http://gwt-code-reviews.appspot.com/821801/diff/1/2 File user/src/com/google/gwt/safehtml/shared/SafeHtmlBuilder.java (right): http://gwt-code-reviews.appspot.com/821801/diff/1/2#newcode81 user/src/com/google/gwt/safehtml/shared/SafeHtmlBuilder.java:81: * @param c the number whose string

[gwt-contrib] Re: Cosmetic changes in safehtml package. (issue821801)

2010-08-31 Thread xtof
http://gwt-code-reviews.appspot.com/821801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: Update i18n Messages to include: (issue796802)

2010-08-30 Thread xtof
http://gwt-code-reviews.appspot.com/796802/diff/1/10 File user/src/com/google/gwt/i18n/rebind/MessagesMethodCreator.java (right): http://gwt-code-reviews.appspot.com/796802/diff/1/10#newcode425 user/src/com/google/gwt/i18n/rebind/MessagesMethodCreator.java:425: private boolean returnsSafeHtml;

[gwt-contrib] Re: SafeHtml Templates (issue793801)

2010-08-25 Thread xtof
LGTM http://gwt-code-reviews.appspot.com/793801/diff/1/2 File user/src/com/google/gwt/safehtml/client/SafeHtmlTemplates.java (right): http://gwt-code-reviews.appspot.com/793801/diff/1/2#newcode42 user/src/com/google/gwt/safehtml/client/SafeHtmlTemplates.java:42: * SafeHtmlLabel

[gwt-contrib] Re: Small SafeHtml method name refactoring for name consistency. (issue799801)

2010-08-25 Thread xtof
LGTM http://gwt-code-reviews.appspot.com/799801/show -- http://groups.google.com/group/Google-Web-Toolkit-Contributors

[gwt-contrib] Re: SafeHtml Templates (issue793801)

2010-08-24 Thread xtof
http://gwt-code-reviews.appspot.com/793801/diff/1/2 File user/src/com/google/gwt/safehtml/client/SafeHtmlTemplates.java (right): http://gwt-code-reviews.appspot.com/793801/diff/1/2#newcode55 user/src/com/google/gwt/safehtml/client/SafeHtmlTemplates.java:55: public interface SafeHtmlTemplates {

[gwt-contrib] Re: Added all safehtml packages. (issue771801)

2010-08-17 Thread xtof
http://gwt-code-reviews.appspot.com/771801/diff/1/10 File user/src/com/google/gwt/safehtml/shared/EscapeUtils.java (right): http://gwt-code-reviews.appspot.com/771801/diff/1/10#newcode29 user/src/com/google/gwt/safehtml/shared/EscapeUtils.java:29: * Returns a SafeHtml constructed from a safe

[gwt-contrib] Re: Added all safehtml packages. (issue771801)

2010-08-17 Thread xtof
On 2010/08/17 23:05:06, tbroyer wrote: On 2010/08/17 20:19:04, xtof wrote: On 2010/08/17 18:39:28, jat wrote: On 2010/08/16 23:39:47, tbroyer wrote: The HtmlSanitizer is a good idea, but the implementation is very weak [2]. Note that the API is what is important