Is any special escaping necessary for URLs in ERB templates? For example,
Puppet complains:
bad URI(is not URI?)
about the :80 and http:/// lines in a template like this:
<VirtualHost *:80>
[...]
RewriteRule ^/+(.*) http://example.com/$1 [L,R=permanent]
</VirtualHost>
Ruby's uri.split() is the only place that raises this error, so I'm guessing
it's some kind of URL escaping/quoting ERB wants to do.
john
--
John Morrissey _o /\ ---- __o
[email protected] _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.