× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ok, nevermind. I had bad data going into the request to begin with. :)

I still think passing that much data in the URI isn't good practice. :)

On Sat, Mar 14, 2020 at 11:23 AM B Stone <bvstone@xxxxxxxxx> wrote:

I am working with an application that needs to read a JWT from the request
URI. The client has CGIDEV2 installed so I'm using that.

The issue is that using getenv() to get the REQUEST_URI environment
variable the data length is 566 bytes, but for some reason getenv() is only
returning the first 560 bytes.

I debugged the getenv() function which calls QtmhGetEnv and it is
returning the proper length value of 566, but it seems the actual text
length returned to the receiver value holder is 560, not 566.

I checked the variables being used and they are 32k. The available size
sent into the API is also correct at 32k. But for some reason it's only
returning 560 bytes (and it knows there are more... hehe)

I've tried with Chrome and Firefox. Same thing.

I just don't know where else the limitation would be except maybe the
QtmhGetEnv API itself, but I see nothing in the docs saying that it's
limited to 560 bytes.

Would be interested in hearing any ideas on where else to look.

Personally, I think sending that much data in the URI isn't good practice
(a POST would be better) but trying to deal with some of these folks on
other ends think they know it all. :)

Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #14 <https://www.bvstools.com/mailtool.html>: The
ability to use Configuration Files at the system, User, or individual email
Level. This means that should any of the settings (such as your password)
is changed you only need to update it in the configuration file that is
used.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.