[Interest] Maximum URL length

Viktor Engelmann viktor.engelmann at qt.io
Thu Mar 15 10:37:07 CET 2018

Chromium (and thus also WebEngine) has a limit of 2 MiB, because the
URLs are sometimes copied in a blocking way, which causes instability
when the limit is larger.

see https://bugs.chromium.org/p/chromium/issues/detail?id=69227

On 15.03.2018 01:35, Thiago Macieira wrote:
> On Wednesday, 14 March 2018 15:42:03 PDT Tom Isaacson via Interest wrote:
>> Is there a maxiumum URL length, either in QUrl or Qt WebEngine? There
>> doesn’t seem to be a standard for maximum URL length, it's implementation
>> specific.
> Yes, the limit in QUrl is the QString limit, which is 2GB, or 1 billion 
> characters.
> The host field has the strictest validation and must comply with STD3, so each 
> dot-separated label must be at most 64-characters in length. All other fields 
> only need to be syntactically correct.


Viktor Engelmann
Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
Viktor.Engelmann at qt.io
+49 151 26784521

Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B

The Future is Written with Qt

More information about the Interest mailing list