Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-371

While copying multi line text from OS clipboard to remote Clipboard all the CR (or CR/LF) are stripped out of the pasted text.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.9.13-incubating
    • None
    • guacamole-common-js
    • RDP of Windows Server 2012 R2 on Chrome Browser.
      Guacamole Version : 0.9.13-incubating
    • Important

    Description

      Text when copied from JS file from local Machine:

      function __send_blob(bytes) {

      var binary = "";
      // Produce binary string from bytes in buffer
      for (var i=0; i<bytes.byteLength; i++)

      { binary += String.fromCharCode(bytes[i]); }
      // Send as base64
      stream.sendBlob(window.btoa(binary));
      }

      *Text when pasted to RDP on Browser: *

      function __send_blob(bytes) { var binary = ""; // Produce binary string from bytes in buffer for (var i=0; i<bytes.byteLength; i++) { binary += String.fromCharCode(bytes[i]); }

      // Send as base64 stream.sendBlob(window.btoa(binary)); }

      As you can see this is stripping all the CR/LF out of pasted text.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amarjeetxc Amarjeet Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: