mojombo / clippy

Clippy is a very simple Flash widget that makes it possible to place arbitrary text onto the client's clipboard.
MIT License
938 stars 168 forks source link

If the text to copy contains & ... #25

Closed kedarmhaswade closed 12 years ago

kedarmhaswade commented 12 years ago

the remaining text is ignored :( This is a weird issue.

If I used: <%= clippy("https://foo.com/abc?status=true&id=1234") %>

the text that actually goes to clipboard is "https://foo.com/abc?status=true" i.e. the first '&' and remaining text is stripped off.

Anybody?

hulvei3 commented 12 years ago

I also need a solution on this

Any progress on this issue, or workarounds..

UPDATE: sorry - workaround found here https://github.com/mojombo/clippy/issues/1 :)

kedarmhaswade commented 12 years ago

URLencoing works.