the hose is pressure rated, but any clamp you use to install it is not. If the line is not too corroded, you can cut out the bad section, reflare it, then make a new piece and install it with two unions.
as joe said, compression fittings are also unsafe.