webfs: use mozilla compatible user agent as default
sites like google return the wrong characterset when they do not recognize the user-agent. so setting default user agent to something thats likely to pass these idiotic browser tests.
This commit is contained in:
parent
144c4ab223
commit
807af1d847
1 changed files with 1 additions and 1 deletions
|
@ -806,7 +806,7 @@ main(int argc, char *argv[])
|
|||
rfork(RFNOTEG);
|
||||
|
||||
if(agent == nil)
|
||||
agent = "hjdicks";
|
||||
agent = "Mozilla/5.0 (compatible; hjdicks)";
|
||||
agent = estrdup(agent);
|
||||
|
||||
if(s = getenv("httpproxy")){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue