pidgin/pidgin

dc08416b884f
Bring back the URL escaping code, but use a better character whitelist.

I realized we can still percent-encode some characters to guard against
URLs containing $(xterm) causing xterm to start on horrendously broken
systems. We just need to be better about what characters we escape. So
I brought back Tomasz's code, added a few characters to the allowed list,
and we now use the escaped URI when starting ALL browsers. Works fine for me.
/** @page sound-signals Sound Signals
@signals
@signal playing-sound-event
@endsignals
@see sound.h
<hr>
@signaldef playing-sound-event
@signalproto
gboolean (*playing_sound_event)(PurpleSoundEventID event, PurpleAccount *account);
@endsignalproto
@signaldesc
Emitted when libpurple is going to play a sound event. This can be used to cancel playing sound by returning TRUE.
@param event The event this sound represents.
@param account The account the sound is being played for.
@return @c TRUE if the sound should not be played, or @c FALSE otherwise.
@endsignaldef
*/
// vim: syntax=c.doxygen tw=75 et