diff --git www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp new file mode 100644 index 000000000000..48c6d2d78135 --- /dev/null +++ www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp @@ -0,0 +1,11 @@ +--- Source/WTF/wtf/URLHelpers.cpp.orig 2021-10-21 08:52:08 UTC ++++ Source/WTF/wtf/URLHelpers.cpp +@@ -48,7 +48,7 @@ constexpr unsigned urlBytesBufferLength = 2048; + // WebKit was compiled. + // This is only really important for platforms that load an external IDN allowed script list. + // Not important for the compiled-in one. +-constexpr auto scriptCodeLimit = static_cast(256); ++constexpr auto scriptCodeLimit = static_cast(USCRIPT_INVALID_CODE); + + static uint32_t allowedIDNScriptBits[(scriptCodeLimit + 31) / 32]; +