http://codereview.appspot.com/434044/diff/1/5 File java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultConcatUriManager.java (right): http://codereview.appspot.com/434044/diff/1/5#newcode59 java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultConcatUriManager.java:59: @Named("shindig.uri.concat.use-strict-parsing") Boolean useStrict) { Can we also define "shindig.uri.concat.use-strict-parsing" ...
15 years, 10 months ago
(2010-03-13 00:15:23 UTC)
#2
http://codereview.appspot.com/434044/diff/1/5
File
java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultConcatUriManager.java
(right):
http://codereview.appspot.com/434044/diff/1/5#newcode59
java/gadgets/src/main/java/org/apache/shindig/gadgets/uri/DefaultConcatUriManager.java:59:
@Named("shindig.uri.concat.use-strict-parsing") Boolean useStrict) {
Can we also define "shindig.uri.concat.use-strict-parsing" inside
common/conf/shindig.properties?
Putting it there will let others know that it exists.
Thanks for all the feedback. I've addressed all by: 1. Adding default config values (set ...
15 years, 10 months ago
(2010-03-16 22:37:30 UTC)
#5
Thanks for all the feedback. I've addressed all by:
1. Adding default config values (set to false) in shindig.properties
2. Added documentation in shindig.properties with justification regarding
strict parsing
3. Correspondingly changed @Inject'ed values to Strings, converted to
Boolean via Boolean.parseBoolean(String)
Patch on the way.
On Mon, Mar 15, 2010 at 10:22 PM, <lindner@inuus.com> wrote:
> seems okay, should add some docs and rationale why this is needed and in
> what situation.
>
>
>
> http://codereview.appspot.com/434044/show
>
Issue 434044: Loosen strictness of Uri parsing for Proxy and Concat managers
(Closed)
Created 15 years, 10 months ago by johnfargo
Modified 15 years, 10 months ago
Reviewers: zhoresh, shindig.remailer_gmail.com, chirag, henry.saputra, Paul Lindner
Base URL: http://svn.apache.org/repos/asf/shindig/trunk/
Comments: 3