Skip to content
  • Henry Hoegelow's avatar
    Fix handling of accepted locales · 2053cbb6
    Henry Hoegelow authored
    The code that sorts the Accept-Language header by quality leaked
    languages under certain circumstances and was overly complex.
    Replace it by a simpler implementation that sorts the returned
    list instead of trying to sort the string array in place.
    2053cbb6