livecheck.url containing semicolon

N_Ox n.oxyde at gmail.com
Sat Jun 9 06:46:58 PDT 2007


Sure, it's a bug with MacPorts.
But you can usually fix it by replacing the semicolon with an &.
Apache generally understand this character as a parameter separator.

Le 9 juin 07 à 10:20, Ryan Schmidt a écrit :

> I want to set up livecheck for fontconfig and I want to use the  
> following livecheck URL:
>
> ${homepage}release/?C=M;O=D
>
> How can I do this? I've tried:
>
>
> livecheck.url       ${homepage}release/?C=M;O=D
>
> --> doesn't work because it gets cut off at the semicolon; "port - 
> dv livecheck" shows:
>
> DEBUG: Fetching http://fontconfig.org/release/?C=M
>
>
> livecheck.url       ${homepage}release/?C=M\;O=D
>
> --> doesn't work because of "unsupported protocol" which is weird:
>
> DEBUG: Fetching {http://fontconfig.org/release/?C=M;O=D}
> Error: cannot check if fontconfig was updated (unsupported protocol)
>
>
> livecheck.url       "${homepage}release/?C=M;O=D"
>
> --> doesn't work for the same reason as above: "unsupported protocol".
>
>
> livecheck.url       ${homepage}release/?C=M%3BO=D
>
> --> doesn't work because the server does not deliver the same  
> response when I encode the semicolon as %3B.
>
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-dev

--
Anthony Ramine, a lazy french student.
nox at macports.org





More information about the macports-dev mailing list