Fixed Add media button exceeds maxquerystringlength for phones

vord

Member
On iPhone 5, Nexus Android tablet and Samsung S5 after clicking 'add media' then selecting an existing album, clicking the 'Add Media' button returns an error:

The length of the query string for this request exceeds the configured maxQueryStringLength value.

[HttpException (0x80004005): The length of the query string for this request exceeds the configured maxQueryStringLength value.]
System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +9701261
System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +53

I'm running PHP 5.5 on a Windows server and the I believe the max query length is a security thing.

I don't know the value it is set to. But can't imagine a lot of information needs to be transferred when clicking to go to a page to upload photos. Is there more in there than needs to be?

Firefox on windows 7 doesn't cause any problem - it's only phones and tablets.
 
This wouldn't usually be classed as a bug.

It certainly works fine on iOS and Android devices generally, so, unfortunately, this is down to your server configuration. As you've said, it does appear to be a configuration value.

That being said, we may be able to adjust the amount of data being passed to the query string.
 
Last edited:
Back
Top Bottom