Thanks a lot Alex.
Done.
URL rejected: Malformed input to a URL function
-
I perform the "GET" command on the Google Sheet link to read data from it. If I directly paste the link into the "GET" command, the tool works. However, if I pass the link through the "Resource" it gives an error: URL rejected: Malformed input to a URL function.
Similarly, when I send a message via Telegram, if I select "Add time to the beginning of the message [hh:mm:ss]," I also receive an error message: URL rejected: Malformed input to a URL function. On the contrary, if I unselect it, the tool works as expected.
Please let me know the reason and how to resolve this.
-
@ptt-bds said in URL rejected: Malformed input to a URL function:
I perform the "GET" command on the Google Sheet link to read data from it. If I directly paste the link into the "GET" command, the tool works. However, if I pass the link through the "Resource" it gives an error: URL rejected: Malformed input to a URL function.
https://community.bablosoft.com/topic/25945/bug-urgent-http-client/3
Similarly, when I send a message via Telegram, if I select "Add time to the beginning of the message [hh:mm:ss]," I also receive an error message: URL rejected: Malformed input to a URL function. On the contrary, if I unselect it, the tool works as expected.
Please let me know the reason and how to resolve this.
While you can use this fixed module: Telegram.zip
-
@mocard said in URL rejected: Malformed input to a URL function:
ΠΠ΄Π΅ΠΌ ΠΊΠΎΠ³Π΄Π° ΠΏΠΎΡΠΈΠΊΡΡΡ.
ΠΡΠ» Π±Π°Π³, ΠΊΠΎΡΠΎΡΡΠΉ Π½Π΅ Π·Π°Π΄Π΅Π²Π°Π» ΡΠΊΡΠΈΠΏΡΡ ΡΡΠ΄ΠΎΠΌ.
Π ΡΡΠ»Π΅ Π½Π΅ Π΄ΠΎΠΏΡΡΠΊΠ°Π΅ΡΡΡ ΠΈΡΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°Π½ΠΈΠ΅ ΠΏΡΠΎΠ±Π΅Π»ΠΎΠ², ΠΈΡ Π½Π°Π΄ΠΎ ΡΠ½ΠΊΠΎΠ΄ΠΈΡΡ ΠΈ Π²ΡΠ΅Π³Π΄Π° Π½Π°Π΄ΠΎ Π±ΡΠ»ΠΎ.
Π€ΠΈΠΊΡ Π±Π°Π³Π° Π² Π½ΠΎΠ²ΠΎΠΉ Π²Π΅ΡΡΠΈΠΈ ΡΠ»ΠΎΠΌΠ°Π» ΡΡΠ°ΡΡΠ΅ ΡΠΊΡΠΈΠΏΡΡ, ΠΊΠΎΡΠΎΡΡΠ΅ ΡΠΊΡΠΏΠ»ΡΠ°ΡΠΈΡΠΎΠ²Π°Π»ΠΈ ΡΡΠΎΡ Π±Π°Π³, ΡΠ°ΠΊ Π±ΡΠ²Π°Π΅Ρ.ΠΠΎΠΆΠ½ΠΎ Π±ΡΠ»ΠΎ ΡΠ΄Π΅Π»Π°ΡΡ ΠΎΠ±Ρ ΠΎΠ΄Π½ΠΎΠΉ ΠΏΡΡΡ, ΡΡΠΎ Π² ΡΡΠ»Π΅ ΠΏΡΠΎΠ²Π΅ΡΡΡΡΡ Π½Π°Π»ΠΈΡΠΈΠ΅ ΠΏΡΠΎΠ±Π΅Π»Π° ΠΈ ΠΎΠ½ ΡΠ½ΠΊΠΎΠ΄ΠΈΡΡΡ, Π΅ΡΠ»ΠΈ ΠΎΠ½ Π΅ΡΡΡ. ΠΠΎ ΡΠ°Π·ΡΠ°Π±ΠΎΡΡΠΈΠΊ BAS ΡΠ΅ΡΠΈΠ» ΡΡΠΎΠ³ΠΎ Π½Π΅ Π΄Π΅Π»Π°ΡΡ.
ΠΠ΅ΡΠΎΡΡΠ½ΠΎ, ΠΏΠ΅ΡΠ΅Π΄ ΡΠ΅ΠΌ ΠΊΠ°ΠΊ Π»ΠΎΠΌΠ°ΡΡ ΡΡΠ°ΡΠΎΠ΅ ΠΏΠΎΠ²Π΅Π΄Π΅Π½ΠΈΠ΅, Π±ΡΠ»ΠΎ Π±Ρ Π»ΠΎΠ³ΠΈΡΠ½ΠΎ ΡΠΈΠΊΡΠΈΡΡ ΡΡΠ», Π΅ΡΠ»ΠΈ ΡΠ°ΠΌ ΠΏΡΠΎΠ±Π΅Π» ΠΈ Π²ΡΠ²ΠΎΠ΄ΠΈΡΡ Π² Π»ΠΎΠ³ ΠΏΡΠ΅Π΄ΡΠΏΡΠ΅ΠΆΠ΄Π΅Π½ΠΈΠ΅, ΡΡΠΎΠ±Ρ ΠΏΠΎΠ»ΡΠ·ΠΎΠ²Π°ΡΠ΅Π»ΠΈ ΠΏΠΎΡΠΈΠΊΡΠΈΠ»ΠΈ ΡΠ²ΠΎΠΈ ΡΠΊΡΠΈΠΏΡΡ. Π ΡΠΆΠ΅ ΡΠΏΡΡΡΡ ΠΏΠ°ΡΠΊΡ Π²Π΅ΡΡΠΈΠΉ BAS Π»ΠΎΠΌΠ°ΡΡ ΡΡΠ°ΡΠΎΠ΅ ΠΏΠΎΠ²Π΅Π΄Π΅Π½ΠΈΠ΅.
-
@stiwert said in URL rejected: Malformed input to a URL function:
for when a fix ?
changing all my scripts http request is a pain in the ass :(please push an update fix for this asap
This is not a bug and will not be fixed. Moreover, the old behavior is in fact a bug.
-
https://community.bablosoft.com/topic/25931/url-rejected-malformed-input-to-a-url-function/11
please fix asap this bug is a pain in the ass
-
The error doesn't only occur with links containing spaces.
For example, with this link:
When I input the URL through a resource and run the GET command in the script, I encounter an error: "URL rejected: Malformed input to a URL function."
But when I directly input the link above into the GET command, it works. -
@ptt-bds said in URL rejected: Malformed input to a URL function:
The error doesn't only occur with links containing spaces.
For example, with this link:
When I input the URL through a resource and run the GET command in the script, I encounter an error: "URL rejected: Malformed input to a URL function."
But when I directly input the link above into the GET command, it works.I checked, sending a GET request to your link entered in the resource is performed correctly. Most likely, you made a mistake when copying the link and inserted additional characters into the resource.

-
its been years BAS auto encode url.
only in this last version its not anymore.so what's the bug? an option that has been working same way for years without any issue or an option that has just been changed and broke 30+ projects.
i have more then 30 projects, are you telling me i have to check each http request on all of my 30+ projects ? dont you think this sound like a bug/pain in the ass ?
put back auto url encode or add option in http client to auto encode url turned ON by default so we dont have to edit each of our http request in each of our projects .....
also can we have a link to old BAS version without this "bug/pain in the ass" please , im not ready to edit all my projects http requests i rather use older version of BAS
-
@kodes said in URL rejected: Malformed input to a URL function:
@Fox Π²ΡΠ΅ ΡΠ°Π²Π½ΠΎ Π½Π΅ ΠΏΠΎΠΌΠΎΠ³Π»ΠΎ
ΠΎΠΊ
-
ΠΡΠΎ ΠΠ°Π³ ΠΠΠ‘Π°)) ΠΡΠ»ΠΈ ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΠ΅ΡΡΡ ΠΊΡΠ±ΠΈΠΊ ΠΎΡΠΏΡΠ°Π²ΠΊΠΈ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ Π² Π’Π, ΠΏΡΠΎΠ±Π΅Π» Π΄ΠΎΠ±Π°Π²Π»ΡΠ΅ΡΡΡ, ΠΊΠΎΠ³Π΄Π° ΡΡΠ°Π²ΠΈΡΡ Π³Π°Π»ΠΎΡΠΊΡ "ΠΠΎΠ±Π°Π²ΠΈΡΡ Π²ΡΠ΅ΠΌΡ Π² Π½Π°ΡΠ°Π»ΠΎ ΡΠΎΠΎΠ±ΡΠ΅Π½ΠΈΡ"