开发者

relative path traversing, is this valid?

I have a an XML file where I need to get up 2 dirs to get a file (from water to fire)

<album basepath="albums/water/images">
    &l开发者_JAVA百科t;img src="001.jpg" />
    <img src="002.jpg" />
    <img src="../../fire/images/005.jpg" />
</album>

So my question is if

albums/water/images/../../fire/images/005.jpg

is a valid path?


Yes, it's a valid path

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜