1. 04 Mar, 2018 2 commits
  2. 25 Jan, 2018 2 commits
  3. 21 Jan, 2018 5 commits
  4. 20 Jan, 2018 3 commits
  5. 06 Jan, 2018 5 commits
  6. 26 Dec, 2017 4 commits
  7. 24 Dec, 2017 3 commits
  8. 27 Aug, 2017 2 commits
  9. 23 Aug, 2017 2 commits
    • Kyle J. McKay's avatar
      form.c: do not gratuitously turn GET into POST · 89e60cc4
      Kyle J. McKay authored
      When encountering a <form ...> tag that contains these values:
      
          method="get" enctype="multipart/form-data"
      
      Do not transform the method into POST to accomodate enctype.
      
      Instead behave in the compatible way that all other browsers
      behave in this instance and ignore the enctype parameter
      (treating it as the default application/x-www-form-urlencoded)
      and perform a "GET" just as the method parameter requests.
      
      This behavior produces far more compatible results than
      gratuitously changing the "get" into a "post" which can
      result in unexpected "405 Method Not Allowed" errors.
      Signed-off-by: 's avatarKyle J. McKay <mackyle@gmail.com>
      89e60cc4
    • Kyle J. McKay's avatar
      file.c: compute correct base URL when not absolute · d398b403
      Kyle J. McKay authored
      When a server makes use of the PATH_INFO feature in a CGI,
      the returned pages may often have a <base href="..." /> tag
      specifying the URL of the CGI itself as the base.
      
      However, to avoid hard-coding the scheme and host into such
      a base href, the href value will often omit the scheme, host
      and port.
      
      Make sure that when parsing any such base href value that
      any omitted components are taken from the current URL rather
      than taken as being from a bare, absolute file:/// URL.
      Signed-off-by: 's avatarKyle J. McKay <mackyle@gmail.com>
      d398b403
  10. 02 Jan, 2017 3 commits
  11. 24 Dec, 2016 5 commits
  12. 20 Dec, 2016 2 commits
  13. 17 Dec, 2016 2 commits