Skip to content

fix: correct dynamic URL rendering - #1065

Closed
ketankurhade wants to merge 6 commits into
scanapi:mainfrom
ketankurhade:fix/1007-dynamic-url
Closed

ketankurhade wants to merge 6 commits into
scanapi:mainfrom
ketankurhade:fix/1007-dynamic-url

Conversation

@ketankurhade

Copy link
Copy Markdown

Description

Fixes dynamic URL rendering when literal text is adjacent to environment or custom variables.

The variable interpolation regex was incorrectly consuming literal characters surrounding ${...} expressions. The regex was updated to match only the variable expression itself.

Regression tests were added for literal prefixes, suffixes, and complete URL path rendering.

Related Issue

Fixes #1007

Testing

  • 111 targeted tests passed
  • 395 tests passed in the full test suite
  • 1 test skipped
  • Ruff checks passed

Two existing Windows-specific path assertion failures are unrelated to this change.

@ketankurhade
ketankurhade requested review from a team as code owners August 31, 2026 14:22
@ketankurhade
ketankurhade deleted the fix/1007-dynamic-url branch September 1, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic URL rendering issue

1 participant