Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294107

Duplicate values in ajaxPageState.libraries

$
0
0

If a library is added during an ajax request, the drupalSettings.ajaxPageState.libraries contains duplicate values.

This is a performance issue when using POST ajax request but becomes an major issue if the ajax is made with GET because after each ajax request the URI for the next ajax request becomes larger and at some point it becomes larger than allowed and a "414 Request-URI Too Large" is possible.


Viewing all articles
Browse latest Browse all 294107

Trending Articles