The tar Header.Name (for example with gnu tar) can start with ./ (for example ./app and ./rootfs/). Use filepath.Clean and use the cleaned up name. This also makes the logic similar to ValidateLayout().
The tar Header.Name (for example with gnu tar) can start with ./ (for example ./app and
./rootfs/).
Use filepath.Clean and use the cleaned up name. This also makes the logic similar to
ValidateLayout().

squeed/rkt,sstabellini/rkt,blixtra/rkt,ramitsurana/rkt,shtouff/rkt,jonboulle/rkt,matthaias/rkt,maquanyi/rkt,dalanlan/rkt,Shashwatsh/rkt,mjg59/rkt,jonboulle/rkt,linki/rkt,kinvolk/rkt,krnowak/rkt,alban/rkt,chrisseto/rkt,sstabellini/rkt,MabinGo/rkt,cab105/rkt,intelsdi-x/rkt,jasonchaffee/rkt,MattDees/rkt,ramitsurana05/rkt,markllama/rkt,sstabellini/rkt,crawford/rkt,eyakubovich/rkt,luebken/rkt,smarvin/rkt,luebken/rkt,adfernandes/rkt,lucasallan/rkt,jzelinskie/rkt,tixxdz/rkt,clearlinux/rkt,dalanlan/rkt,yifan-gu/rocket,mjg59/rkt,marineam/rkt,klizhentas/rkt,rkt/rkt,intfrr/rkt,kinvolk/rkt,coreos/rkt,achanda/rkt,Yhgenomics/rkt,alexhersh/rkt,michelangelo13/rkt,blixtra/rkt,luebken/rkt,nhlfr/rkt,mike1729/rkt,robszumski/rocket,alban/rkt,fdserr/rkt,sgotti/rkt,tmrts/rkt,sinfomicien/rkt,joshix/rkt,cab105/rkt,alexhersh/rkt,iaguis/rkt,tv42/rkt,shobhit85/rkt,sgotti/rkt,lsm5/rkt,jjlakis/rkt,marineam/rkt,MattDees/rkt,rot26/rkt,monstermunchkin/rkt,michelangelo13/rkt,jasonchaffee/rkt,MabinGo/rkt,iankronquist/rkt,shobhit85/rkt,joshix/rkt,kbrwn/rkt,yifan-gu/rocket,sgotti/rkt,rhvgoyal/rkt,Yhgenomics/rkt,rhvgoyal/rkt,jzelinskie/rkt,tv42/rkt,rkt/rkt,kbrwn/rkt,dgonyeo/rkt,Shashwatsh/rkt,ChengTiesheng/rkt,euank/rkt,krnowak/rkt,intelsdi-x/rkt,ChengTiesheng/rkt,liugenping/rkt,iaguis/rkt,sinfomicien/rkt,shtouff/rkt,maquanyi/rkt,euank/rkt,lsm5/rkt,liubq919/rkt,cab105/rkt,jasonchaffee/rkt,smarvin/rkt,jakon89/rkt,tmrts/rkt,squeed/rkt,alban/rkt,tmrts/rkt,marineam/rkt,squaremo/rkt,squaremo/rkt,mattthias/pkg-rkt,matthaias/rkt,intfrr/rkt,ramitsurana05/rkt,akshaykarle/rkt,mike1729/rkt,nhlfr/rkt,jakon89/rkt,coreos/rkt,crawford/rkt,MabinGo/rkt,wparad/rkt,squeed/rkt,sinfomicien/rkt,Yhgenomics/rkt,iaguis/rkt,dgonyeo/rkt,akshaykarle/rkt,eyakubovich/rkt,squaremo/rkt,s-urbaniak/rkt,monstermunchkin/rkt,adfernandes/rkt,gdi2290/rocket,adfernandes/rkt,ramitsurana/rkt,nhlfr/rkt,lucasallan/rkt,ramitsurana05/rkt,xnox/rkt,bsmr-go/rkt,linki/rkt,klizhentas/rkt,clearlinux/rkt,ybubnov/rkt,lsm5/rkt,monstermunchkin/rkt,tixxdz/rkt,kinvolk/rkt,ramitsurana/rkt,yifan-gu/rkt,eyakubovich/rkt,fdserr/rkt,jakon89/rkt,fdserr/rkt,MattDees/rkt,kbrwn/rkt,markllama/rkt,blixtra/rkt,rkt/rkt,mattthias/pkg-rkt,jonboulle/rkt,Wilybald/rkt,mjg59/rkt,yifan-gu/rocket,Wilybald/rkt,liugenping/rkt,yifan-gu/rkt,yifan-gu/rkt,mattthias/pkg-rkt,iankronquist/rkt,kinvolk/rkt,crawford/rkt,clearlinux/rkt,robszumski/rocket,dalanlan/rkt,chrisseto/rkt,liubq919/rkt,gdi2290/rocket,wparad/rkt,euank/rkt,rot26/rkt,lucasallan/rkt,joshix/rkt,xnox/rkt,akshaykarle/rkt,jjlakis/rkt,jjlakis/rkt,achanda/rkt,tixxdz/rkt,Wilybald/rkt,iankronquist/rkt,shtouff/rkt,il9ue/rkt,xnox/rkt,linki/rkt,jzelinskie/rkt,alexhersh/rkt,ybubnov/rkt,lee212/rkt,lee212/rkt,rhvgoyal/rkt,smarvin/rkt,endocode/rkt,maquanyi/rkt,bsmr-go/rkt,bsmr-go/rkt,dgonyeo/rkt,joshix/rkt,liubq919/rkt,ChengTiesheng/rkt,Shashwatsh/rkt,markllama/rkt,robszumski/rocket,tv42/rkt,il9ue/rkt,shobhit85/rkt,achanda/rkt,endocode/rkt,coreos/rkt,rot26/rkt,lucasallan/rkt,intfrr/rkt,s-urbaniak/rkt,il9ue/rkt,matthaias/rkt,chrisseto/rkt,mike1729/rkt,intelsdi-x/rkt,Wilybald/rkt,ybubnov/rkt,lee212/rkt,liugenping/rkt,michelangelo13/rkt,wparad/rkt,s-urbaniak/rkt,klizhentas/rkt,rkt/rkt,krnowak/rkt,endocode/rkt