kaltura/server — pull request #1636 by shaktidhar (2014-09-02 11:17:53+00:00)
Title: Correction in string replacement algorithm

String replacement to correct additional '/' introduced in the url is not working correctly.
Since "//" is being replaced in the previous line, the line 921 never executes leaving the / in front of http.
My quick and simple suggestion is to remove one of the / in the patterns. It works fine with that.