1. Greg Bergbower
  2. PowerBuilder
  3. Thursday, 2 December 2021 15:31 PM UTC

I'm running PB 2019 R3 Build 2703.  I'm using RESTClient object to call SendGetRequest().  If the URL I'm passing exceeds 1325 characters in length, then  SendGetRequest() returns -2.  This equates to Invalid URL.  I've tested the URL outside of PB with Postman and the response is valid so this appears to be an issue/limit with PB.

I tested using HTTPClient object as well, but it acts in the same manner as RESTClient object.  i.e. get request fails when URL exceeds 1325.

Can you confirm, is 1325 the max length allowed for a URL with RESTClient and HTTPClient objects?  If yes, then are there any work-arounds?  Is the URL max length increased in newer, or future, PB versions?

 

Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Friday, 3 December 2021 08:34 AM UTC
  2. PowerBuilder
  3. # 1

Hi Greg,

 

Yes. This is a bug and it will be fixed in the next PB version. Sorry that there’s no other workaround at this moment.

With the fix in the next PB version, the max length allowed for this URL will be the same as that supported by the Firefox browser, which is no longer than 65k (the URL length in Chrome is limited to 8k).

 

Regards,

 

Comment
There are no comments made yet.
Greg Bergbower Accepted Answer Pending Moderation
  1. Friday, 3 December 2021 13:34 PM UTC
  2. PowerBuilder
  3. # 2

Thank you for the response Mark.  Can you confirm the version the fix will be in?  I'm currently running 2019 R3.  Will there be a fix for this version, version 2021 or version 2022?

Comment
  1. Mark Lee @Appeon
  2. Monday, 6 December 2021 02:12 AM UTC
Hi Greg,



If everything goes well, the fix should be available in the next PB 2019 R3 version, 2021, and 2022.

But the release dates of these versions are not settled yet.

  1. Helpful
There are no comments made yet.
Mark Lee @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 26 January 2022 08:51 AM UTC
  2. PowerBuilder
  3. # 3

Hi Greg,

 

Good news that PB 2021 MR Build 1506 is available for download.

The issue you reported has been fixed in this release.

Please download and install it to verify the issue you reported and let us know if any problems.

You can get the installer from our Downloads portal at https://account.appeon.com/download (login required).

We welcome all feedback from you!

 

Regards,
Mark Lee

Comment
  1. Greg Bergbower
  2. Wednesday, 26 January 2022 14:39 PM UTC
Thank you Mark for the update.

Are there any plans for this fix to also be included in a future MR of PB 2019 R3? If yes, do you have an ETA?



greg
  1. Helpful
  1. Mark Lee @Appeon
  2. Thursday, 27 January 2022 02:55 AM UTC
Hi Greg,



About this, we plan to fix it in the subsequent MR version of PB 2019 R3. But the release date is not fixed yet.
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.