VirtualBox

Ignore:
Timestamp:
Jun 24, 2014 11:09:59 AM (10 years ago)
Author:
vboxsync
Message:

Runtime/http: more sane limit for redirection URLs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/http.cpp

    r51704 r51707  
    394394                curl_easy_getinfo(pHttpInt->pCurl, CURLINFO_REDIRECT_URL, &pszRedirect);
    395395                size_t cb = strlen(pszRedirect);
    396                 if (cb > 0 && cb < 4096)
     396                if (cb > 0 && cb < 2048)
    397397                    pHttpInt->pszRedirLocation = RTStrDup(pszRedirect);
    398398                rc = VERR_HTTP_REDIRECTED;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette