summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
7ae7c33)
This would have resulted in final paths starting with `.//`, which,
while probably mostly harmless, is definitely weird.
version="1.0"
>
<xslt:template match="/">
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>
<variable name="href">
<text>./extracted/</text>
<choose>