URL rejected: Malformed input to a URL function

Support
  • 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.

  • same since last update

  • problem is with space , BAS dont change space to %20 anymore

    Temporary fix = replace all space with %20

  • @stiwert does this work for telegram error when add time is switched on?

  • i use http client not telegram module

  • same when sending msg to the tg bot

  • I hope the admins will read this post soon and update to fix the errors.

  • @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

  • ВсСм ΠΏΡ€ΠΈΠ²Π΅Ρ‚ Ρ‚ΠΎΠΆΠ΅ самоС ΠΈ Ρƒ мСня послС обновлСния.
    ΠŸΠΎΡ‡Ρ‚ΠΈ Π² ΠΊΠ°ΠΆΠ΄ΠΎΠΌ сообщСнии ошибки Malformed input to a URL function
    Π–Π΄Π΅ΠΌ ΠΊΠΎΠ³Π΄Π° пофиксят.

  • @mocard said in URL rejected: Malformed input to a URL function:

    Π–Π΄Π΅ΠΌ ΠΊΠΎΠ³Π΄Π° пофиксят.

    Π‘Ρ‹Π» Π±Π°Π³, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ Π½Π΅ Π·Π°Π΄Π΅Π²Π°Π» скрипты Ρ‡ΡƒΠ΄ΠΎΠΌ.
    Π’ ΡƒΡ€Π»Π΅ Π½Π΅ допускаСтся использованиС ΠΏΡ€ΠΎΠ±Π΅Π»ΠΎΠ², ΠΈΡ… Π½Π°Π΄ΠΎ ΡΠ½ΠΊΠΎΠ΄ΠΈΡ‚ΡŒ ΠΈ всСгда Π½Π°Π΄ΠΎ Π±Ρ‹Π»ΠΎ.
    Ѐикс Π±Π°Π³Π° Π² Π½ΠΎΠ²ΠΎΠΉ вСрсии сломал старыС скрипты, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ эксплуатировали этот Π±Π°Π³, Ρ‚Π°ΠΊ Π±Ρ‹Π²Π°Π΅Ρ‚.

    МоТно Π±Ρ‹Π»ΠΎ ΡΠ΄Π΅Π»Π°Ρ‚ΡŒ ΠΎΠ±Ρ…ΠΎΠ΄Π½ΠΎΠΉ ΠΏΡƒΡ‚ΡŒ, Ρ‡Ρ‚ΠΎ Π² ΡƒΡ€Π»Π΅ провСрятся Π½Π°Π»ΠΈΡ‡ΠΈΠ΅ ΠΏΡ€ΠΎΠ±Π΅Π»Π° ΠΈ ΠΎΠ½ энкодится, Ссли ΠΎΠ½ Π΅ΡΡ‚ΡŒ. Но Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚Ρ‡ΠΈΠΊ BAS Ρ€Π΅ΡˆΠΈΠ» этого Π½Π΅ Π΄Π΅Π»Π°Ρ‚ΡŒ.

    ВСроятно, ΠΏΠ΅Ρ€Π΅Π΄ Ρ‚Π΅ΠΌ ΠΊΠ°ΠΊ Π»ΠΎΠΌΠ°Ρ‚ΡŒ староС ΠΏΠΎΠ²Π΅Π΄Π΅Π½ΠΈΠ΅, Π±Ρ‹Π»ΠΎ Π±Ρ‹ Π»ΠΎΠ³ΠΈΡ‡Π½ΠΎ Ρ„ΠΈΠΊΡΠΈΡ‚ΡŒ ΡƒΡ€Π», Ссли Ρ‚Π°ΠΌ ΠΏΡ€ΠΎΠ±Π΅Π» ΠΈ Π²Ρ‹Π²ΠΎΠ΄ΠΈΡ‚ΡŒ Π² Π»ΠΎΠ³ ΠΏΡ€Π΅Π΄ΡƒΠΏΡ€Π΅ΠΆΠ΄Π΅Π½ΠΈΠ΅, Ρ‡Ρ‚ΠΎΠ±Ρ‹ ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»ΠΈ пофиксили свои скрипты. А ΡƒΠΆΠ΅ спустя ΠΏΠ°Ρ‡ΠΊΡƒ вСрсий BAS Π»ΠΎΠΌΠ°Ρ‚ΡŒ староС ΠΏΠΎΠ²Π΅Π΄Π΅Π½ΠΈΠ΅.

  • for when a fix ?
    changing all my scripts http request is a pain in the ass :(

    please push an update fix for this asap

  • @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.

  • 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.

    2829.xml

    1e782ea0-d3dc-434b-a35e-c1c4262b2960-ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅.png

  • This post is deleted!
  • @Fox

    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

  • @Fox всС Ρ€Π°Π²Π½ΠΎ Π½Π΅ ΠΏΠΎΠΌΠΎΠ³Π»ΠΎ

  • @kodes said in URL rejected: Malformed input to a URL function:

    @Fox всС Ρ€Π°Π²Π½ΠΎ Π½Π΅ ΠΏΠΎΠΌΠΎΠ³Π»ΠΎ

    ΠΎΠΊ

  • Π­Ρ‚ΠΎ Π‘Π°Π³ БАБа)) Если ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅Ρ‚ΡΡ ΠΊΡƒΠ±ΠΈΠΊ ΠΎΡ‚ΠΏΡ€Π°Π²ΠΊΠΈ сообщСния Π² Π’Π“, ΠΏΡ€ΠΎΠ±Π΅Π» добавляСтся, ΠΊΠΎΠ³Π΄Π° ΡΡ‚Π°Π²ΠΈΡˆΡŒ Π³Π°Π»ΠΎΡ‡ΠΊΡƒ "Π”ΠΎΠ±Π°Π²ΠΈΡ‚ΡŒ врСмя Π² Π½Π°Ρ‡Π°Π»ΠΎ сообщСния"

  • 0 Votes
    3 Posts
    537 Views
  • 0 Votes
    2 Posts
    467 Views
  • Get URL PARTS only

    Support
    0 Votes
    3 Posts
    788 Views
  • 0 Votes
    2 Posts
    1096 Views
  • 0 Votes
    8 Posts
    2300 Views