Skip to content

Leap year error during static files request.  #1202

Closed

Description

@LilDash

Zotonic crashed with this error: {badarg,[{erlang,universaltime_to_localtime,[{{2017,2,29},{2,13,1}}],[]}

The code : {{{Y+1,M,D},HIS}, ReqData, State}; in the controller_file.erl(line 105) makes leap year error during static files request.

Activity

  1. mworrell commented on Feb 29, 2016

    @mworrell
    Member

    Wow, that its embarrassing. Thanks for the fix!

  2. added this to the milestone on Feb 29, 2016
  3. added a commit that references this issue on Feb 29, 2016
  4. mworrell commented on Feb 29, 2016

    @mworrell
    Member

    A hotfix release was made to handle this issue https://github.com/zotonic/zotonic/releases/tag/0.13.8

  5. mworrell commented on Feb 29, 2016

    @mworrell
    Member

    @LilDash Thanks again for reporting and fixing this.

  6. LilDash commented on Feb 29, 2016

    @LilDash
    ContributorAuthor

    my pleasure : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions