X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=blobdiff_plain;f=yarrg%2Fdictionary-manager;h=2231266edc8f0e0ef441067a7e5ffd276ba52ba6;hp=65fc977b505fd9b8c3b3dd343e37e891d853edff;hb=757318e3924059c13338aada3b29d668c20f6c36;hpb=555b3391b3cd9967a29b219fff242b583137d2b8 diff --git a/yarrg/dictionary-manager b/yarrg/dictionary-manager index 65fc977..2231266 100755 --- a/yarrg/dictionary-manager +++ b/yarrg/dictionary-manager @@ -509,6 +509,12 @@ proc upload_init {} { if {$privacy_setting} { package require http ::http::config -urlencoding utf-8 + set ua [::http::config -useragent] + debug "USERAGENT OLD \"$ua\"" + set ua [exec ./database-info-fetch useragentstringmap $ua \ + dictionary-manager 2>@ stderr] + ::http::config -useragent $ua + debug "USERAGENT NEW \"$ua\"" } }