1. 16 Dec, 2015 1 commit
    • Simon Rawet's avatar
      Added MaxMemory limit to CopyBody() · 52c4c1fb
      Simon Rawet authored
      Beego only uses the MaxMemory flag when using go's built in functions
      for parsing forms. However the CopyBody() function have no limit an will
      coppy anny amount of data into memory using ioutil.ReedAll() on the
      request body whitout anny size validation or limit.
      
      This fix wrapps input.Requst.Body in a LimitedReader using the same
      memory limit as ParseFormOrMulitForm()
      52c4c1fb
  2. 15 Dec, 2015 4 commits
  3. 10 Dec, 2015 2 commits
  4. 09 Dec, 2015 6 commits
  5. 04 Dec, 2015 1 commit
  6. 03 Dec, 2015 1 commit
  7. 02 Dec, 2015 5 commits
  8. 30 Nov, 2015 2 commits
  9. 29 Nov, 2015 1 commit
    • Ryan A. Chapman's avatar
      Log config parsing errors · 7151b964
      Ryan A. Chapman authored
      Beego currently handles the case of "conf/app.conf"
      not existing, but all other errors are not logged.
      This fixes that.
      
      I ran into an issue where beego was not listening on the
      correct port, and it turned out that the conf/app.conf file
      had a colon ":" instead of an equal sign "=" (confusion of
      INI vs YAML formats).  When there was a parsing error, beego
      would give up on parsing app.conf and not log anything to the
      console.
      7151b964
  10. 27 Nov, 2015 1 commit
  11. 26 Nov, 2015 2 commits
  12. 25 Nov, 2015 3 commits
  13. 24 Nov, 2015 2 commits
  14. 21 Nov, 2015 1 commit
  15. 20 Nov, 2015 3 commits
  16. 19 Nov, 2015 4 commits
  17. 18 Nov, 2015 1 commit