Skip to content
Snippets Groups Projects
  1. Aug 11, 2019
    • Paul Wise's avatar
      Set the cookie domain based on the HTTP domain. · 355b1a42
      Paul Wise authored
      Avoids issues with setting cookies on www-staging.d.o or other mirrors.
      
      Fixes: commit eef0d122
      355b1a42
    • Paul Wise's avatar
      Add basic support for influencing language selection via cookies. · eef0d122
      Paul Wise authored
      The UI for language selection in browsers is rarely used or known about
      by visitors so websites need to provide a way for visitors to influence
      content negotiation using the website itself in addition to the browser.
      
      Setting a cookie is the simplest option for us as the URLs don't change.
      
      The GDPR does not apply and to satisfy the EU cookie law we can include
      some explanatory text around the form that sets the cookie.
      
      Visitors should not get their language cookie changed when other folks link
      them to URLs for other languages and search engines should not set language
      cookies at all. Using POST requests ensures each cookie is only set explictly.
      
      Since Apache mod_rewrite cannot inspect POST data, we use URLs instead.
      
      The default cookie lifetime is about one month (60*24*7*4 minutes).
      
      <CAKTje6EzfE89jBqpLQu1_a3ybYkV7pPcquKzQb6Uz8uu=pGudA@mail.gmail.com>
      <f849fde79a325422af9a9553f6672a96382ae262.camel@debian.org>
      https://httpd.apache.org/docs/current/content-negotiation.html#exceptions
      eef0d122
  2. Aug 10, 2019
  3. Aug 09, 2019
  4. Jul 30, 2019
  5. Jul 26, 2019
  6. Jul 23, 2019
  7. Jul 19, 2019
  8. Jul 18, 2019
  9. Jul 08, 2019
  10. Jul 07, 2019
Loading