zarqon
Well-known member
Since the user-agent change r6962, Mafia is no longer identifying itself to servers when using visit_url(). Previously in the headers it identified itself, and this was meant to aid the admins of servers that KoL hits (primarily KoL itself).
I have used this feature for several of my scripts that hit my own server, to make php files that are only accessible via mafia.
Now, mafia is identifying itself as whatever you have for your relay browser.
My question: is this intentional behavior? Is mafia identifying itself to servers no longer necessary?
I wasn't sure if this was a bug or not so I wrote it up here rather than submit a report. But I was rather flummoxed when all of my ASH scripts that fetch data from my server started dumping HTML pages into the CLI. (Because they thought it was Opera rather than mafia.)
I have used this feature for several of my scripts that hit my own server, to make php files that are only accessible via mafia.
Now, mafia is identifying itself as whatever you have for your relay browser.
My question: is this intentional behavior? Is mafia identifying itself to servers no longer necessary?
I wasn't sure if this was a bug or not so I wrote it up here rather than submit a report. But I was rather flummoxed when all of my ASH scripts that fetch data from my server started dumping HTML pages into the CLI. (Because they thought it was Opera rather than mafia.)