Today when I was playing with Quicksilver‘s Gmail module I noticed something queer. When I tried to send something contains the question mark “?” in either the subject or the body of a mail, it always failed to bring the compose window. Check it out by copying the following line into the location of your browser:
https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=Someone@moon.sky&su=?
I checked a few more characters, not all the ones I can input, and only “?” is suffering up to now.
2 comments ↓
That’s because the ? indicates that URL parameters follow. All other ?question marks need to be quoted. Use a percent and the hex code of the character, ie. https://mail.google.com/mail/?view=cm&fs=1&tf=1&to=Someone@moon.sky&su=%3f
I wondered that the question mark must mean something for the server at first, but I didn’t know what is that. Thank you for your explanation.
Leave a Comment