Jump to content
Ketarin forum

Length of global variables?


necrox
 Share

Recommended Posts

First of all I don't know if the length is the problem. But that's my guess.

 

As you can see below I have a few User Agents as global variables.

globalvariableslcs1a.png

 

I can't figure out why some of them work as variable and others not. For example the ie64 variable. Using {ie64} with Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecki as string

 

is not possible. Using the string itself works fine (see below).

 

useragent3ysge.png

 

What is the maximum length for global variables?

Link to comment
Share on other sites

That's strange. It is not the length.

Using the ie64 variable with Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecki as content should result in a download of a 64-bit version of the software. But it does not work. Using Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecki itself works fine. And is NOT on every download as I figured out. There are only a few web sites not working as expected:

 

- Bacula (does not determine the 64-bit version download link as mentioned above)

- Shockwave (does not determine the version number on http://get.adobe.com/de/shockwave/?platform_dist= with variable as user agent)

- Java Offline x64 (does not determine the x64 version with variable as user agent)

- LibreOffice (does not determine download link with variable as user agent)

 

Using the user agent string works fine on all of the these links.

Link to comment
Share on other sites

No variables at all? Or only global variables? :unsure:

 

If it does, then only because the website has a poor UA check and parses the "IE" or "Mozilla" part of your variable name.

 

Sourceforge.net for example :D

 

Is it possible to set this "feature" on your list for one of the next releases? *friendly-request*

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.