mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
raea's window sends the page's fetch of /host/* to RAEA_PAGE_HOST (page-net host.rs), but what the page loads by itself went through FileNet, which looked for /host/* among the page's files and found nothing. An <img src="/host/attachment?..."> drew an empty box: in the feed, a picture attached to a note showed nowhere in raea's window (smoke's "a comment takes files" read naturalWidth 0), and a library's posters on Publish were blank. The feed now reads those through fetch (HostImg), as its other host pictures already were. FileNet now takes the page's own http://localhost/host/* from the host, as the fetch does (host::load, GET with its query; nothing without a host, or for an answer that isn't 2xx). systems/page-net/tests/page_host.rs: a load of /host/attachment?... reaches the host with its query; a /media/ path and another origin's /host/ aren't the host's; a host that's gone gives nothing. cargo test -p raea-sys-page-net: all pass.