Skip to content
Snippets Groups Projects
  1. Mar 21, 2018
  2. Mar 20, 2018
  3. Mar 19, 2018
  4. Mar 02, 2018
  5. Mar 01, 2018
  6. Feb 28, 2018
    • Luc Didry's avatar
      Fix $_SERVER['SERVER_PORT'] handling · c4ec2bbc
      Luc Didry authored
      While installing Framadate on Apache, but proxyfied by an Nginx,
      $_SERVER['SERVER_PORT'] failed to be correctly handled.
      
      $_SERVER['SERVER_PORT'] is then a string and not an integer, so it was
      added in the response of get_server_name() function, breaking all the
      css/js links.
      
      I don't know if there is other situations where the bug appears.
      
      Schema of the installation:
      
      Nginx (443) -> Apache2 (80) + Framadate
      
      Please note that using port 80 on Nginx worked.
      c4ec2bbc
    • Luc Didry's avatar
      ee807db3
Loading