[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Interpolate vs restrict


Quoting Elver Loho (suppressed):
> We're using the 'get-url' tag with interpolate="0".
> 
> Is there any way to tell interpolate to only parse certain tags like L
> and LC in the returned content?

L and LC are not tags. You would need to use [loc].

> 
> We could use [restrict policy=deny enable='L LC'], but that would be
> dangerous as anyone could simply insert [/restrict] in the content.

Have you tried that? It should not work as long as you do:

    [restrict policy=deny enable="loc get_url"]
	    [get-url url="http://foo.com"; reparse=1]
    [/restrict]

A [/restrict] in the returned content will not do anything.

An interesting feature might be a standard restrict specification
for tag reparse.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.647.1295  tollfree 800-949-1889 <suppressed>

Fast, reliable, cheap.  Pick two and we'll talk.  -- unknown
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.