mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-26 22:25:40 +00:00
The LinkifyIt library was truncating URLs containing nested parentheses, such as Kibana/RISON formatted links. For example, a URL like: https://example.com/?_g=(filters:!(),time:(from:now))&_a=(data) would be cut off at the first balanced parenthesis, losing the &_a=... portion. Added extendUrlWithBalancedParentheses helper function that: - Counts unbalanced opening parentheses in the detected URL - Extends the URL to include closing parens and following content - Stops at URL terminators (whitespace, quotes, angle brackets) - Stops if parentheses would become over-balanced (more closing than opening) Fixes #7402 Co-authored-by: Chirag Chandrashekhar <cchirag85@gmail.com>