attempt to support & (ampersand) in curl