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

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.9.13-incubating
    • Fix Version/s: None
    • Component/s: guacamole-common-js
    • Labels:
    • Environment:
      RDP of Windows Server 2012 R2 on Chrome Browser.
      Guacamole Version : 0.9.13-incubating
    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: