File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Features
17
17
Bugfixes
18
18
--------
19
19
20
+ * Fix support for files outside of site root directory on Windows
20
21
* Support passing ``--backend `` and ``--db-file `` to ``nikola auto ``
21
22
* Support blank values in certain WordPress-imported structures
22
23
(Issue #3535)
Original file line number Diff line number Diff line change @@ -253,7 +253,7 @@ def _set_paths(self, source_path):
253
253
self .post_name = os .path .splitext (source_path )[0 ] # posts/blah
254
254
_relpath = os .path .relpath (self .post_name )
255
255
if _relpath != self .post_name :
256
- self .post_name = _relpath .replace ('..' + os .sep , '_.. ' + os .sep )
256
+ self .post_name = _relpath .replace ('..' + os .sep , '__dotdot__ ' + os .sep )
257
257
# cache[\/]posts[\/]blah.html
258
258
self .base_path = os .path .join (self .config ['CACHE_FOLDER' ], self .post_name + ".html" )
259
259
# cache/posts/blah.html
You can’t perform that action at this time.
0 commit comments