On 7/16/09 13:54, [email protected] wrote:
On Thu, Jul 16, 2009 at 1:12 PM, felix<[email protected]>  wrote:
hm, ok.  so PluginEnvironment would have methods like this?
  String safeUriForHtml(
      ExternalReference source, String tagName, String attrName);
  String safeUriForCss(
      ExternalReference source, String cssProperty);
or did you have something different in mind?

I imagined there would be just one single safe URI for everything. If
that's not the case, then the resulting PluginEnvironment interface
would be a bit too "thick"....

ok, maybe just this?
  String safeUri(ExternalReference source, String mimeType);

Reply via email to