Project

General

Profile

Actions

Bug #5710

closed

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

Added by westor (GR) 12 months ago. Updated 12 months 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 #1

Updated by Per Amundsen 12 months ago

  • Status changed from New to Resolved
Actions #2

Updated by Per Amundsen 12 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF