1. 26 Jan, 2016 1 commit
    • Marvin Scholz's avatar
      Fix handling of URIs in custom XSL loader · eecbc647
      Marvin Scholz authored
      There was an error how URIs were handled in our custom XSL loader
      that rewrites include URIs to point to admin dir if the include
      is not found in the current dir.
      
      The check for the file would not work if the path contains chars
      that are usually escaped in URIs, like a space (%20), as we get
      a already encoded version of that URI in the loader and did not
      decode it before checking the existence of the file.
      
      (Fix #2249)
      eecbc647
  2. 24 Dec, 2015 1 commit
    • Philipp Schafft's avatar
      Fix: remove tailing dots in URI. · 471cbaa6
      Philipp Schafft authored
      This works around the problem that windows ignores tailing dots.
      This way you could trick Icecast2 to send a XSLT file as plain text.
      
      Please test.
      
      Closes: #2247
      471cbaa6
  3. 12 Dec, 2015 1 commit
    • Philipp Schafft's avatar
      Fix: Moved <mime-types> into <paths>. · 255af9e6
      Philipp Schafft authored
      This moved the <mime-types> setting into <paths>. The code still
      supports reading it from the root element but will warn the user
      about this.
      
      Also there seems to be no documentation about this setting.
      
      Closes: #2164
      255af9e6
  4. 28 Nov, 2015 7 commits
  5. 23 Nov, 2015 4 commits
  6. 22 Nov, 2015 4 commits
  7. 19 Nov, 2015 1 commit
  8. 11 Nov, 2015 1 commit
  9. 10 Aug, 2015 1 commit
  10. 06 Jun, 2015 2 commits
  11. 08 Apr, 2015 4 commits
    • Philipp Schafft's avatar
      Fix: Handle case realloc() is used as free(). · 3d2ab9ae
      Philipp Schafft authored
      This (hopefully) corrects the usage of realloc() as free().
      This patch is part of the series based on Denis Denisov's input.
      3d2ab9ae
    • Philipp Schafft's avatar
      Fix: Let util_url_escape() handle NULL parameter. · 6605f4dd
      Philipp Schafft authored
      This let util_url_escape() handle NULL passed as parameter.
      In case the parameter is NULL it will also return NULL.
      
      This patch also does some cleanup of the code such as migration
      away from int and thus avoiding future failtures.
      
      This is a re-apply of 3baa4e46
      as git refuses to cherry-pick.
      6605f4dd
    • Philipp Schafft's avatar
      Fix: Fixed some smaller bugs such as leaks and performance improvements. · c1f0eaff
      Philipp Schafft authored
      This is a first commit to correct minor problmes reported by
      Denis Denisov. There is likely another commit to correct some more
      such problems.
      
      Thank you Denis Denisov.
      c1f0eaff
    • Philipp Schafft's avatar
      Cleanup: move libcurl specifc code into curl.c · 74023834
      Philipp Schafft authored
      This cleans the libcurl usage up a bit. It moves common code used
      to interact with libcurl into a single new file curl.[ch].
      
      Notes:
      * It does not alter any features nor fixes any bugs.
      * Thew REVIEW about strdup(self->url) in event_url.c as been processed.
        According to the manpage for curl_easy_setopt()/CURLOPT_URL
        there is no need for us to copy.
      * URL Auth as well as URL triggers have sent ICECAST_VERSION_STRING
        as User-Agent:, this has be corrected to what is set in the config
        file.
      * As curl.c is now a single point for setting parameters all the TLS
        parameters should be reviewed and set (based on config).
      
      Please test!
      74023834
  12. 31 Mar, 2015 3 commits
  13. 28 Mar, 2015 4 commits
  14. 27 Mar, 2015 2 commits
    • Philipp Schafft's avatar
      Added operation mode (omode) "strict". · 8d513db4
      Philipp Schafft authored
      This adds the operation mode "strict". It does not yet have
      any specific features and alias the "normal" mode.
      This change is mostly to make the setting of "strict" valid
      so it can be used already.
      8d513db4
    • Philipp Schafft's avatar
      Renamed config file SSL references to TLS. · 5dac23ad
      Philipp Schafft authored
      As we do not support any SSL version but TLS this renames
      all TLS related config options. Docs still need to be updated.
      Close still uses 'ssl' internally e.g. for variable names.
      This should be changed on a later patch.
      5dac23ad
  15. 01 Mar, 2015 4 commits