Path reversal

not tested , not complete recv