Remi Collet
d8560ad177
use lexbor version from library
2026-03-21 14:29:36 +01:00
Niels Dossche
d2cd73a4b4
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix GH-21041: Dom\HTMLDocument corrupts closing tags within scripts
2026-01-26 19:20:42 +01:00
Tim Düsterhus
3e7710c97d
lexbor: Cherry pick "URL: fixed "heap-buffer-overflow" for scheme is "file"."
...
see lexbor/lexbor@65435d3e40
Fixes php/php-src#20668
2025-12-10 12:15:34 +01:00
Tim Düsterhus
7610527d75
lexbor: Cherry pick "URL: fixed "use-after-poison" for an empty path entry."
...
see lexbor/lexbor@9259b169e3
Fixes php/php-src#20502
Fixes php/php-src#20521
2025-11-18 17:32:07 +01:00
Tim Düsterhus
8e6d375966
lexbor: Cherry pick "URL: the cloning function does not copy the type for IPv4 and IPv6."
...
see lexbor/lexbor@dcfcd645c6
Fixes php/php-src#20501
2025-11-17 19:29:23 +01:00
Daniel Scherzer
b35b5e0050
ext/lexbor: use PHP_VERSION for extension version ( #20291 )
...
To match most other bundled extensions, instead of having no version at all
2025-10-28 10:51:05 -07:00
Niels Dossche
bdf1bcc8d4
Fix GH-20088: Heap-use-after-free in PHP URI WHATWG parser during malformed URL processing
...
Import lexbor/lexbor@fc5aeaa61f
2025-10-12 12:30:04 +02:00
Tim Düsterhus
11ce662101
lexbor: Cherry pick "Core: Reset length in lexbor_str_destroy()"
...
see lexbor/lexbor@1bc9944a19
Fixes php/php-src#19979
2025-09-29 22:43:47 +02:00
Máté Kocsis
43c3afeff7
Fix Uri\WhatWg\Url::withPort() when an invalid value is passed
...
Cherry-picked from 4ccbc549bc
Co-authored-by: Tim Düsterhus <tim@bastelstu.be >
2025-09-27 13:22:05 +02:00
Calvin Buckley
a9b69b1b3d
Fix Uri\WhatWg\Url::withHost() ( #19935 )
...
Fixes GH-19913, fixes GH-19918, fixes GH-19920
Cherry-picked from lexbor/lexbor#a766eec632b69a8c3c1987aeb3910d51f110f8dc
Co-authored-by: Tim Düsterhus <tim@bastelstu.be >
2025-09-23 11:44:07 -07:00
Niels Dossche
e976926843
Update lexbor to lexbor/lexbor@b46db664
2025-08-24 23:51:35 +02:00
Niels Dossche
8f1a627e79
Merge branch 'PHP-8.4'
...
* PHP-8.4:
Backport Lexbor changes to 8.4
2025-08-10 14:21:47 +02:00
Niels Dossche
fc86c249dc
Sync with lexbor/lexbor@49b43eba41 ( #19442 )
2025-08-10 13:16:39 +02:00
Máté Kocsis
889f38135d
Cherry pick some recent lexbor changes
...
The following changes are cherry-picked:
- c60846689d core/str.c: Fix undefined behavior in function lexbor_str_append
- 92260fd670 URL: fixed hostname setter if port is specified.
2025-07-15 22:28:16 +02:00
Niels Dossche
2f55291ceb
Sync to lexbor/lexbor@0eac579f ( #18882 )
2025-06-19 21:18:18 +02:00
Máté Kocsis
7d24cce78a
Update Lexbor
...
Cherry-pick b2dbadcf16
Adding support for IDNA URL serialization.
2025-06-10 10:07:11 +02:00
Niels Dossche
a63d0a49b0
Merge branch 'PHP-8.4'
...
* PHP-8.4:
Update Lexbor patches for non-string attribute
2025-05-28 23:35:23 +02:00
Niels Dossche
c4fba3708c
Drop COMPILE_DL_LEXBOR ( #18677 )
...
This is always statically compiled into PHP, so remove this dead code.
2025-05-27 22:00:26 +02:00
Máté Kocsis
400b7b8c74
Add Lexbor files for URL handling ( #18656 )
...
Relates to #14461 and https://wiki.php.net/rfc/url_parsing_api
2025-05-27 13:06:02 +02:00
Máté Kocsis
7f59fccd52
Create separate lexbor extension ( #18538 )
...
An always enabled lexbor extension is added, containing the lexbor library that was separated from ext/dom extension in preparation of https://wiki.php.net/rfc/url_parsing_api . While at it, the lexbor library is upgraded to 2.5.0.
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com >
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2025-05-25 14:12:44 +02:00