Skip to content

fix(image): prevent URL truncation in --subject-ref parsing#47

Merged
RyanLee-Dev merged 1 commit intomainfrom
fix/subject-ref-url-truncation
Apr 6, 2026
Merged

fix(image): prevent URL truncation in --subject-ref parsing#47
RyanLee-Dev merged 1 commit intomainfrom
fix/subject-ref-url-truncation

Conversation

@EElaineYIN
Copy link
Copy Markdown

Summary

  • Fix --subject-ref parsing that truncated URLs containing = in query params
  • image=https://x.com/img?size=large was truncated to https://x.com/img?size
  • Now splits only on the first = per key-value pair

Test plan

  • --subject-ref "type=character,image=https://x.com/a?s=large" --dry-run → full URL preserved

🤖 Generated with Claude Code

split('=') broke URLs containing = in query params. Now splits only
on the first = per key-value pair, preserving the full URL value.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@RyanLee-Dev RyanLee-Dev merged commit 0c73f45 into main Apr 6, 2026
2 checks passed
@RyanLee-Dev RyanLee-Dev deleted the fix/subject-ref-url-truncation branch April 8, 2026 21:44
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.

2 participants