Project

General

Profile

Actions

Feature #5587

closed

Add $encode(,r) + $decode(,r) to allow encode/decode an url

Added by westor (GR) almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
05/15/2022
Due date:
% Done:

0%

Estimated time:
Operative System:
All

Description

Hello,

It would be very helpful to see AdiIRC supporting a way to encode/decode an url/link, yeah it is possible to do that via msl using regex and $regsubex() but having something like this in $encode() and $decode() supported seems very helpful.

Examples:

//var %url = https://dev.adiirc.com/projects/adiirc/wiki | echo -ag $encode(%url,r)
Results: https%3A%2F%2Fdev%2Eadiirc%2Ecom%2Fprojects%2Fadiirc%2Fwiki

//var %url = https%3A%2F%2Fdev%2Eadiirc%2Ecom%2Fprojects%2Fadiirc%2Fwiki | echo -ag $decode(%url,r)
Results: https://dev.adiirc.com/projects/adiirc/wiki

- Thanks!

Actions

Also available in: Atom PDF