Skip to content
Snippets Groups Projects
  1. Apr 19, 2016
  2. Apr 18, 2016
  3. Apr 16, 2016
  4. Apr 15, 2016
  5. Apr 14, 2016
  6. Apr 13, 2016
    • Andreas Gohr's avatar
      34df7cb0
    • Andreas Gohr's avatar
      Added 3way merge from PEAR Text_Diff3 · a297e675
      Andreas Gohr authored
      This adds 3way merge functionality to our DifferenceEngine stack. The
      code was taken from the PEAR Text_Diff3 package and adapted to work with
      our implementation.
      
      For the curious:
      Here's a short Origin tree of the different versions of the Diff code to
      make clear how our implementation is related to the PEAR package.
      
      -- original code Geoffrey T. Dairiki
         `-- Adaption for the Horde project
             |-- Adaption for phpwiki
             |   `-- Adaption for MediaWiki
             |       `-- Adaption for DokuWiki
             `-- Creation of PEAR Text_Diff
      a297e675
  7. 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
  8. Apr 02, 2016
  9. 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
  10. Mar 24, 2016
  11. Mar 20, 2016
  12. Mar 19, 2016
  13. Mar 18, 2016
  14. Mar 15, 2016
  15. Mar 11, 2016
  16. Mar 04, 2016
  17. 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
  18. 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
  19. Feb 14, 2016
  20. Feb 11, 2016
  21. Feb 03, 2016
  22. Jan 29, 2016
  23. Jan 22, 2016
  24. Jan 07, 2016
  25. Dec 29, 2015
Loading