[Interest] Maximum URL length

Thiago Macieira thiago.macieira at intel.com
Thu Mar 15 01:35:14 CET 2018


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.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Interest mailing list