Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copied output from ping/traceroute escapes characters incorrectly #59

Closed
forkwhilefork opened this issue Jul 16, 2020 · 2 comments
Closed
Assignees
Labels
possible-bug Something isn't working

Comments

@forkwhilefork
Copy link

Bug Description

When I run a ping/traceroute query and click the "Copy Output" button, the text that gets copied to my clipboard has escaped newlines (i.e. "\n") instead of the actual newline character, so it all appears on a single line. Also the whole string is in quotes.

Expected behavior

The text copied to the clipboard should be the same as what appears on the page, as if I'd selected it and copied it manually.

Steps to Reproduce

Run a ping or traceroute query and then click the "Copy Output" button.

Local Configurations

I don't think this matters.

Environment

Server

  • OS: Centos 7
  • Python Version: 3.6.8
  • hyperglass Version: 1.0.0-beta.51

Client

  • OS & Version: Windows 10 1909
  • Browser: Chrome 83.0.4103.116 and Firefox 78.0.2
@forkwhilefork forkwhilefork added the possible-bug Something isn't working label Jul 16, 2020
@thatmattlove
Copy link
Owner

I'm able to reproduce this and will fix this as soon as possible.

@thatmattlove
Copy link
Owner

This is fixed in 1.0.0-beta.52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
possible-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants