Skip to content
  • Ori's avatar
    Initial commit. · 24a93b1a
    Ori authored
    This vmod contains the code from Varnish's std.querysort, with the
    following modifications:
    1. Query parameters are sorted by key only.
    2. The sort is stable: the relative ordering of duplicate parameters is preserved.
    Since all query parameters are given as pointers into the URL string, we
    can make qsort do a stable sort by comparing pointers when the keys are
This project is licensed under the BSD 2-Clause "Simplified" License. Learn more