1. 19 Dec, 2015 1 commit
  2. 09 Dec, 2015 1 commit
  3. 03 Dec, 2015 2 commits
  4. 02 Dec, 2015 3 commits
  5. 27 Nov, 2015 3 commits
  6. 24 Nov, 2015 5 commits
  7. 23 Nov, 2015 3 commits
  8. 22 Nov, 2015 1 commit
  9. 06 Nov, 2015 1 commit
  10. 05 Nov, 2015 3 commits
  11. 04 Nov, 2015 1 commit
  12. 03 Nov, 2015 3 commits
  13. 30 Sep, 2015 2 commits
  14. 22 Sep, 2015 4 commits
  15. 07 Sep, 2015 3 commits
  16. 06 Sep, 2015 1 commit
    • Calin Seciu's avatar
      Don't add the host into the url opaque param · d5e2e8d0
      Calin Seciu authored
      Adding the host into the URL.Opaque parameter creates an absolute
      uri request like:
      
          GET https://gitlab.com/api/v3/... HTTP/1.1
      
      instead of:
      
          GET /api/v3/... HTTP/1.1
      
      Apache seems to have a problem with absolute uri requests when used
      as a reversed proxy, double encoding %2F to %252F before passing the
      request to GitLab, which breaks GitLab's api that accepts NAMESPACE/PROJECT.
      
      The proxy config used is:
      
          ProxyPass / http://127.0.0.1:8080/ nocanon
      
      'nocanon' parameter is the one that prevents double encoding, but it
      seems to work only for relative uri requests.
      
      An alternative is to use the mod_rewrite module directly instead of
      the ProxyPass directive as:
      
          RewriteEngine On
          RewriteRule ^(.*) http://127.0.0.1:8080$1 [NE,P]
      
      with the 'NE' flag (no escape) which works fine with absolute uri
      requests. There are performance issues with this method as explained
      here http://httpd.apache.org/docs/current/rewrite/flags.html#flag_p
      d5e2e8d0
  17. 25 Aug, 2015 2 commits
  18. 18 Aug, 2015 1 commit