Fix a path resolve bug for multiple double dot
Merge pull request #650 from caolvchong/master

相对路径在多重上级目录的情况下的bug修复