Per the OS v0.9 spec:
http://www.opensocial.org/Technical-Resources/opensocial-spec-v09/Gadget
s-API-Specification.html#rfc.section.3.4
The include-url, exclude-url are singular, and the parameters may be
repeated. Plus "*" is a valid pattern.
Plus there are minify-* parameters
 
Per the code in ContentRewriterFeature.java
include-urls, exclude-urls are plural, and there can be only one.
Plus the pattern is fed to Pattern.compile, so "*" throws an exception.
 
Unless people feel strongly the spec is incorrect, I can put together a
patch that will keep the plural versions for backward compatibility, but
also properly honors the singular versions per the spec. Perhaps even
add the "minify-*" options.
 
Jon

Reply via email to