Skip to content

Load a page from its URL on the homepage of the demo - #19

Merged
xavierlacot merged 1 commit into
mainfrom
feat/load-page-from-url
Nov 23, 2026
Merged

xavierlacot merged 1 commit into
mainfrom
feat/load-page-from-url

Conversation

@xavierlacot

@xavierlacot xavierlacot commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

What does this PR do?

The homepage of the demo can now load a page from its URL: the "Load" button posts the URL to /load-url, where a proxy that lives outside this repository downloads the page, which is then validated in the browser. Where no proxy answers (a local build or a fork), the browser fetches the page itself, which only works for websites that allow it with CORS headers. A page that can not be loaded shows an error box that advises pasting its source code or using the redirection.io validator.

Checklist

  • Tests pass (castor qa:phpunit:run)
  • Coding standards applied (castor qa:cs)
  • Static analysis passes (castor qa:phpstan)
  • Tests added or updated for the change
  • Documentation updated if needed

@xavierlacot
xavierlacot merged commit c85c949 into main Nov 23, 2026
6 checks passed
@xavierlacot
xavierlacot deleted the feat/load-page-from-url branch November 23, 2026 17:29
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.

1 participant