lib/sup.rb in sup-0.19.0 vs lib/sup.rb in sup-0.20.0
- old
+ new
@@ -6,10 +6,11 @@
require 'thread'
require 'fileutils'
require 'locale'
require 'ncursesw'
require 'rmail'
+require 'uri'
begin
require 'fastthread'
rescue LoadError
end
@@ -62,9 +63,10 @@
YAML_DOMAIN = "supmua.org"
LEGACY_YAML_DOMAIN = "masanjin.net"
YAML_DATE = "2006-10-01"
MAILDIR_SYNC_CHECK_SKIPPED = 'SKIPPED'
+ URI_ENCODE_CHARS = "!*'();:@&=+$,?#[] " # see https://en.wikipedia.org/wiki/Percent-encoding
## record exceptions thrown in threads nicely
@exceptions = []
@exception_mutex = Mutex.new