Project

General

Profile

Actions

Bug #5710

closed

$urlget() fails when sending custom User-Agent header

Added by westor (GR) over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
04/11/2023
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

I was trying to send a custom User-Agent header using $urlget() but seems AdiIRC doesn't allowing me and sends an error.

There are cases that some servers wants a valid different User-Agent than the default that AdiIRC is sending AdiIRC so thats why this fix would be appreciated.

Reproduce code:

//alias urlgetfail echo -ag state: $!urlget($1).state $(|) alias urlgetfail | bset -t &header 1 test: test $+ $crlf $+ User-Agent: Noob | noop $urlget(https://google.com,fg,test.txt,urlgetfail,&header)

- Thanks!

Actions

Also available in: Atom PDF