You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@guacamole.apache.org by "Mike Jumper (Jira)" <ji...@apache.org> on 2020/11/18 04:55:00 UTC
[jira] [Updated] (GUACAMOLE-1215) SFTP file list cannot be
displayed
[ https://issues.apache.org/jira/browse/GUACAMOLE-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Jumper updated GUACAMOLE-1215:
-----------------------------------
Component/s: (was: guacamole-common-js)
> SFTP file list cannot be displayed
> ----------------------------------
>
> Key: GUACAMOLE-1215
> URL: https://issues.apache.org/jira/browse/GUACAMOLE-1215
> Project: Guacamole
> Issue Type: Bug
> Affects Versions: 1.2.0
> Reporter: kwangheelee
> Priority: Minor
>
> When searching the file list using SFTP, an error occurs when the file name or directory name contains a *backslash*.
> An error occurs when calling the javascript *JSON.parse()* function, and for this reason, the entire file list is not displayed in the Devices menu (Alt+Ctrl+Shift).
> Temporarily removing the backslash from the file name or directory name is effective, but I think that special characters should be escaped.
> Attach the tested file name and error location.
> 1. File name: test\123
> 2. Error location
>
> {code:java}
> // guacamole-common-js/src/main/webapp/modules/JSONReader.js
> this.getJSON = function getJSON() {
> return JSON.parse(json);
> };
> {code}
>
> Thanks.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)