Skip to content

feat(UrlParse): add URL Parse BoxSource - #481

Open
XiaoXiaoSN wants to merge 1 commit into
mainfrom
feat/boxsource-new-urlparse
Open

feat(UrlParse): add URL Parse BoxSource#481
XiaoXiaoSN wants to merge 1 commit into
mainfrom
feat/boxsource-new-urlparse

Conversation

@XiaoXiaoSN

@XiaoXiaoSN XiaoXiaoSN commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Box Source: URL Parse (Analyze)

Adds the URL Parse box source to Magic Box. It is disabled by default.

Details:

  • Category (Kind): Analyze
  • Tag: #
  • Default Input: https://user:pass@example.com:8080/a/b?x=1&y=2#frag ::urlparse

Options:

  • ::parseurl, ::urlparse

Description:

Break a URL into protocol, host, port, path, query, and hash.

Usage Examples:

  • Input:
https://user:pass@example.com:8080/a/b?x=1&y=2#frag ::urlparse
  • Output Box (URL Parse):
https://user:pass@example.com:8080/a/b?x=1&y=2#frag

@XiaoXiaoSN

Copy link
Copy Markdown
Owner Author

Linting/testing failed on this branch.

Error details:

Please fix the linting and testing issues and ensure 'bun run lint' and 'bun test run' pass.

@XiaoXiaoSN

Copy link
Copy Markdown
Owner Author

This PR is ready to merge!

@XiaoXiaoSN
XiaoXiaoSN force-pushed the feat/boxsource-new-urlparse branch from bfcbffd to a65d3a7 Compare June 26, 2026 08:19
@XiaoXiaoSN

Copy link
Copy Markdown
Owner Author

看起來沒什麼用,我們有類似的 box 了
這個如果真的要做,應該是要把 query string 還有每一個欄位通通拆成不同的欄位,然後用一些什麼 key-value box 來顯示,說不定更好。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant