Alternator overcharging

I bypassed the bulkhead connector with both wires on Monday because it was definitely a bad connection. The voltage regulator has the same potential to ground as the left cylinder head and the negative battery post. Bypassing the bulkead connector solved the melting wire insulation under the dash, but not the overcharging. To me, 17.3 volts at idle is asking for a battery explosion.