livecheck.url containing semicolon

Kevin Ballard eridius at macports.org
Sat Jun 9 17:44:15 PDT 2007


Ok, it actually was a bug, but not with semicolons - the livecheck  
target wasn't de-escaping the URL, so the presence of any whitespace,  
semicolons, or curly braces would cause this issue.

I've fixed the problem in r26041.

On Jun 9, 2007, at 4:17 PM, Kevin Ballard wrote:

> It's not a bug. It's the fact that the semicolon character is  
> treated the same as a newline, in that it separates commands. This  
> is a Tcl language feature.
>
> If you want a semicolon, either surround the entire value with  
> double-quotes, or use a backslash to escape the semicolon.
>
> livecheck.url  "${homepage}release/?C=M;O=D"
> livecheck.url ${homepage}release/?C=M\;O=D

-- 
Kevin Ballard
http://kevin.sb.org
eridius at macports.org
http://www.tildesoft.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-dev/attachments/20070609/45e3f436/attachment.html


More information about the macports-dev mailing list