cpan Mojolicious 9.55

one hour ago
  • Added EXPERIMENTAL max_parts attribute to Mojo::Content::MultiPart.
  • Added EXPERIMENTAL directory and download options to reply->file helper in Mojolicious::Plugin::DefaultHelpers.
  • Changed Mojolicious::Routes::Match to die on unknown route conditions, instead of silently not matching the route.
  • Fixed a security issue in Mojo::DOM where deeply nested markup could make the HTML/XML parser block the event loop
    for a very long time. Elements are now limited to 512 levels of nesting, deeper ones are added as siblings, like in
    browsers.
  • Fixed a security issue where small gzip compressed responses could exceed max_response_size in Mojo::UserAgent
    after decompression.
  • Fixed a security issue where multipart requests with many tiny parts could use large amounts of memory. The number
    of parts is now limited to 1000 by default.
  • Fixed a bug in Mojo::DOM::CSS where selectors like "p + p", "p ~ p" and ":nth-child()" could make selection
    extremely slow for elements with thousands of siblings.
  • Fixed a bug in Mojolicious::Static where "Range: bytes=-500" returned the first instead of the last 500 bytes, and
    invalid Range headers like "bytes=-" were not ignored. Responses with status 416 now include a Content-Range
    header.
  • Fixed a bug in Mojolicious::Static where If-Modified-Since was not ignored when If-None-Match was present, weak
    ETags did not match strong ones, and "If-None-Match: *" was not supported.
  • Fixed a bug in Mojo::Message::Request where the "Basic" authentication scheme was case-sensitive and matched
    anywhere in the Authorization header.
  • Fixed a bug in Mojolicious::Renderer and Mojolicious::Types where "q=0" values in Accept and Accept-Encoding headers
    were treated as acceptable.
  • Fixed a bug in Mojolicious::Routes where routes added, removed or renamed after the first lookup were not found by
    url_for.
  • Fixed a bug in Mojolicious::Routes where "_method" values containing ":" could change the routes cached for other
    paths.

Don't miss a new Mojolicious release

NewReleases is sending notifications on new releases.