Fixed CoralCDN bug

Added check for slash end of url