This would have resulted in final paths starting with `.//`, which,
while probably mostly harmless, is definitely weird.
version="1.0"
>
<xslt:template match="/">
- <for-each select="书社:archive/*[@书社:archived-as and not(starts-with(@书社:archived-as, '../') or contains(@书社:archived-as, '/../'))]">
+ <for-each select="书社:archive/*[@书社:archived-as and not(starts-with(@书社:archived-as, '../') or starts-with(@书社:archived-as, '/') or contains(@书社:archived-as, '/../'))]">
<variable name="href">
<text>./extracted/</text>
<choose>