1. 10 Jun, 2019 2 commits
    • Claudio Saavedra's avatar
      hsts-db: further fix for format string of stored policies · 7fc86f20
      Claudio Saavedra authored
      The age and expiration date should be unsigned long, not just
      long.
      7fc86f20
    • Claudio Saavedra's avatar
      hsts: accept the Strict-Transport-Security header regardless of casing · 16bb5805
      Claudio Saavedra authored
      For some reason a strcmp() was used where a case-insensitive search should
      be used. This was further hidden by the fact that SoupMessageHeaders interns
      the name of headers, so the first time a header is seen by the library will
      be the casing that is used, rendering the case-insensitivity test useless.
      
      Fix the string comparison and move the test for sensitivity to the top so that
      it runs first and the interned STS header name is the allcaps one that will
      allow the test to work.
      16bb5805
  2. 06 Jun, 2019 1 commit
  3. 05 Jun, 2019 1 commit
    • Claudio Saavedra's avatar
      Add SoupHSTSEnforcer:hsts-enforced signal · afe18148
      Claudio Saavedra authored
      After working on the HSTS feature for WebKit it became obvious
      that relying on the SoupMessage::uri property changes is far from
      ideal. So let's add a signal that will be emitted whenever the
      enforcer does its thing wih a SoupMessage.
      afe18148
  4. 04 Jun, 2019 1 commit
    • Xavier Claessens's avatar
      Fix xml2 and sqlite fallbacks · 9ab923ac
      Xavier Claessens authored
      We should try find_library() before fallback to subproject, for
      platforms that does not ship the .pc file.
      
      Also the return value of cc.has_header() is currently not used, those
      statements have no effect. Fix this by using has_headers kwarg of
      find_library(), a new syntax from Meson 0.50.0. We want to find the
      library AND its headers, or fallback to subproject.
      9ab923ac
  5. 03 Jun, 2019 1 commit
  6. 28 May, 2019 1 commit
  7. 27 May, 2019 1 commit
  8. 24 May, 2019 1 commit
  9. 23 May, 2019 1 commit
  10. 22 May, 2019 17 commits
  11. 17 May, 2019 2 commits
  12. 16 May, 2019 4 commits
  13. 15 May, 2019 1 commit
  14. 03 May, 2019 1 commit
  15. 23 Apr, 2019 1 commit
    • Tomas Popela's avatar
      Fix the build of tests on MinGW · c4a9252b
      Tomas Popela authored
      Currently the tests are failing to build with "undefined reference to
      `_imp__htonl@4'". The fix is to add the platform_deps to tests
      dependencies. Do that by adding it to the libsoup_dep thus all the
      targets are fixed.
      
      !60
      c4a9252b
  16. 09 Apr, 2019 4 commits