Skip to content
Snippets Groups Projects
  1. Apr 18, 2016
  2. Apr 16, 2016
  3. Apr 15, 2016
  4. Apr 11, 2016
    • Andreas Gohr's avatar
      URI scheme is only relevant for TLS if not proxy connection #1526 · c67b1dab
      Andreas Gohr authored
      This should fix the test problems errors in #1527. When requesting a
      HTTPS URI from a HTTP only proxy, the initial connection is *not* TLS
      secured. The URI scheme is only relevant when directly connecting.
      
      This also changes the (wrong) assumption that everything on port 443 is
      always TLS secured. Only the URI scheme should decide that.
      c67b1dab
    • Michael Grosse's avatar
      use SSL if scheme is https · 4167de31
      Michael Grosse authored
      This is to ensure that we use SSL/TLS if a custom port is defined an no
      proxy is used.
      
      Fixes #1526
      4167de31
  5. Apr 02, 2016
  6. Mar 31, 2016
    • Andreas Gohr's avatar
      avoid HTTP Response Splitting attacks via redirects #1513 · 98ca30d2
      Andreas Gohr authored
      The header() method of PHP is vulnerable to HTTP Response Splitting
      attacks.
      
      This change makes sure the URL passed to send_redirect (and thus to
      header()) does not contain any control characters that would be needed
      to execute such an attack.
      
      Cleaning input is recommended anyway.
      98ca30d2
  7. Mar 24, 2016
  8. Mar 19, 2016
  9. Mar 11, 2016
  10. Mar 04, 2016
  11. Feb 19, 2016
    • Andreas Gohr's avatar
      removed isset() from blank() function · 67234204
      Andreas Gohr authored
      As discussed in #1471, an uninitialized variable will always be
      implicitly created when passed to the blank() function. Calling isset()
      is thus a no-op. A warning about this behavior has been added to the
      function comment.
      67234204
  12. Feb 18, 2016
    • Andreas Gohr's avatar
      refactor page saving and introduce COMMON_WIKIPAGE_SAVE · b24d9195
      Andreas Gohr authored
      This makes the saveWikiText() function a little easier to read and moves
      external edit handling to its own function. Behavior stays the same
      (tests are unchanged).
      
      In addition a new event COMMON_WIKIPAGE_SAVE is introduced that makes
      intercepting and acting on page saves much easier than possible before.
      
      Developers can:
      
      * prevent saves by either preventing the default action or overwriting
        the contentChanged field in a BEFORE hook
      * enforce saves even when no content changed by overwriting the
        contentChanged field in a BEFORE hook
      * Adjust the saved content by modifying the newContent field in a BEFORE
        hook
      * Adjust the stored change log information (summary, type, extras) in an
        AFTER hook
      * Easily know if a page was deleted, created or edited by inspecting the
        changeType field
      * what ever they want before or after a wiki page is saved
      b24d9195
  13. Feb 14, 2016
  14. Feb 11, 2016
  15. Feb 03, 2016
  16. Jan 29, 2016
  17. Jan 22, 2016
  18. Jan 07, 2016
  19. Dec 29, 2015
  20. Dec 27, 2015
  21. Dec 24, 2015
  22. Dec 22, 2015
  23. Dec 21, 2015
  24. Dec 19, 2015
  25. Dec 17, 2015
  26. Dec 13, 2015
  27. Dec 10, 2015
  28. Dec 07, 2015
  29. Nov 27, 2015
Loading