Show More
@@ -496,7 +496,7 b' class ScmModel(BaseModel):' | |||
|
496 | 496 | |
|
497 | 497 | if not flat: |
|
498 | 498 | _data = { |
|
499 | "name": f.unicode_path, | |
|
499 | "name": h.escape(f.unicode_path), | |
|
500 | 500 | "type": "file", |
|
501 | 501 | } |
|
502 | 502 | if extended_info: |
@@ -522,7 +522,7 b' class ScmModel(BaseModel):' | |||
|
522 | 522 | _data = d.unicode_path |
|
523 | 523 | if not flat: |
|
524 | 524 | _data = { |
|
525 | "name": d.unicode_path, | |
|
525 | "name": h.escape(d.unicode_path), | |
|
526 | 526 | "type": "dir", |
|
527 | 527 | } |
|
528 | 528 | if extended_info: |
General Comments 0
You need to be logged in to leave comments.
Login now