Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Unescaping URL in ExtraSection

Slavko
2012-08-12
2012-10-11
  • Slavko
    Slavko
    2012-08-12

    Hi,

    i have custom ExtraSection defined to give me the statistics about downloaded
    DEB files:

    # počítanie balíkov deb
    ExtraSectionName1="20 naj balíkov DEB"
    ExtraSectionCodeFilter1="200 304"
    ExtraSectionCondition1="URL,.*\.deb$"
    ExtraSectionFirstColumnTitle1="Meno balíka"
    ExtraSectionFirstColumnValues1="URL,\/pool\/.*\/([^/]+\.deb)$"
    ExtraSectionFirstColumnFormat1="%s"
    ExtraSectionStatTypes1=HBL
    ExtraSectionAddAverageRow1=0
    ExtraSectionAddSumRow1=1
    MaxNbOfExtra1=20
    MinHitExtra1=1
    

    But i have problem with escaped URLs, where the:

    yad_0.12.4-1%7estable1_amd64.deb
    yad_0.12.4-1~stable1_amd64.deb
    

    are considerd as separate files.

    Please, can someone help me with this, to make these files as one in stats?

    thanks