[BUG][VM][UNIX][Mac OS X] clipboard can't handle unicode text?

Avi Bryant avi.bryant at gmail.com
Mon Feb 7 21:44:58 UTC 2005


I just found an interesting crashing bug on OS X, using
Squeak-3.6-3.app.  There are probably lots of ways to replicate it,
but this is how I happened to find it:

- open a Squeak image (tested on a 3.6 era image)
- go to http://www.shmoo.com/idn/ in Safari.  This is a demo of an
exploit possible by using unicode characters in domain names to spoof
well known sites.
- click on the "paypal.com" link and copy the text in the URL bar
- go to Squeak, select any text, and copy

Squeak crashes for me with the message:
<NSCharacterConversionException> Conversion to encoding 30 failed for
string "https://www.p_ypal.com/" (I inserted a _ in there to show that
there's a funny char there in Terminal, but which would show up as an
"a" in some email clients).

Avi



More information about the Squeak-dev mailing list