TS-5063: Fixes coverity warnings and cleans up the temp string
TS-5063: Fixes coverity warnings and cleans up the temp string

The Vec<char> seems overkill here, and makes things less nice when
managing the intermediary strings. The new code has issues with being
potentially used without initialization.

CID 1365975, 1365974

persiaAziz/trafficserver,dyrock/trafficserver,taoyunxing/trafficserver,duke8253/trafficserver,reveller/trafficserver,duke8253/trafficserver,taoyunxing/trafficserver,chitianhao/trafficserver,rahmalik/trafficserver,taoyunxing/trafficserver,rahmalik/trafficserver,persiaAziz/trafficserver,rpufky/trafficserver,clearswift/trafficserver,rpufky/trafficserver,clearswift/trafficserver,rpufky/trafficserver,vmamidi/trafficserver,rahmalik/trafficserver,reveller/trafficserver,davidbz/trafficserver,reveller/trafficserver,pbchou/trafficserver,clearswift/trafficserver,chenglongwei/trafficserver,PSUdaemon/trafficserver,bryancall/trafficserver,SolidWallOfCode/trafficserver,clearswift/trafficserver,PSUdaemon/trafficserver,persiaAziz/trafficserver,davidbz/trafficserver,taoyunxing/trafficserver,vmamidi/trafficserver,PSUdaemon/trafficserver,davidbz/trafficserver,dyrock/trafficserver,rpufky/trafficserver,chitianhao/trafficserver,taoyunxing/trafficserver,dyrock/trafficserver,dyrock/trafficserver,PSUdaemon/trafficserver,duke8253/trafficserver,rahmalik/trafficserver,rpufky/trafficserver,bryancall/trafficserver,taoyunxing/trafficserver,dyrock/trafficserver,davidbz/trafficserver,taoyunxing/trafficserver,SolidWallOfCode/trafficserver,taoyunxing/trafficserver,taoyunxing/trafficserver,PSUdaemon/trafficserver,chenglongwei/trafficserver,chenglongwei/trafficserver,rpufky/trafficserver,vmamidi/trafficserver,chenglongwei/trafficserver,davidbz/trafficserver,reveller/trafficserver,vmamidi/trafficserver,duke8253/trafficserver,chenglongwei/trafficserver,SolidWallOfCode/trafficserver,chenglongwei/trafficserver,persiaAziz/trafficserver,rahmalik/trafficserver,dyrock/trafficserver,pbchou/trafficserver,rpufky/trafficserver,rpufky/trafficserver,clearswift/trafficserver,reveller/trafficserver,duke8253/trafficserver,clearswift/trafficserver,SolidWallOfCode/trafficserver,duke8253/trafficserver,chitianhao/trafficserver,bryancall/trafficserver,SolidWallOfCode/trafficserver,dyrock/trafficserver,bryancall/trafficserver,persiaAziz/trafficserver,pbchou/trafficserver,persiaAziz/trafficserver,persiaAziz/trafficserver,reveller/trafficserver,chenglongwei/trafficserver,pbchou/trafficserver,bryancall/trafficserver,duke8253/trafficserver,clearswift/trafficserver,reveller/trafficserver,bryancall/trafficserver,rahmalik/trafficserver,clearswift/trafficserver,persiaAziz/trafficserver,pbchou/trafficserver,rahmalik/trafficserver,pbchou/trafficserver,rahmalik/trafficserver,rpufky/trafficserver,SolidWallOfCode/trafficserver,davidbz/trafficserver,chitianhao/trafficserver,PSUdaemon/trafficserver,reveller/trafficserver,rahmalik/trafficserver,chitianhao/trafficserver,vmamidi/trafficserver,vmamidi/trafficserver,reveller/trafficserver,PSUdaemon/trafficserver,clearswift/trafficserver,SolidWallOfCode/trafficserver,PSUdaemon/trafficserver,chenglongwei/trafficserver,chitianhao/trafficserver,chitianhao/trafficserver,PSUdaemon/trafficserver