Skip to content

Blogger 1.1.4: build every link from the blog's address - #9

Merged
necessarylion merged 1 commit into
mainfrom
blogger-links-from-blog-address
Nov 7, 2026
Merged

necessarylion merged 1 commit into
mainfrom
blogger-links-from-blog-address

Conversation

@mydoxie

@mydoxie mydoxie commented Nov 7, 2026

Copy link
Copy Markdown
Contributor

Problem

1.1.3 fixed the blog's links by rewriting /blogs links in the finished page. That works, but it is a workaround over the HTML.

Fix

  • Every post, tag, page and back link is built from the blog's own address (look.blog), with one helper href(). This is the design of Blogger: build every link from the blog's base address #3, on today's code.
  • The page rewrite localLinks() is gone.
  • Links now are full addresses, on the store and on a host of its own.

Old e2e failure, fixed

y-blogger still expected a base64 picture in a body to be refused (422). Since 1.1.0 it is saved as an upload. The test now checks the body keeps an /uploads/ path, and that a plain http:// picture is refused. It failed on main before this change.

Checks

  • Unit tests, type check: green.
  • y-blogger e2e: 6 pass (was 1 fail, 2 not run).

Replaces #3.

…picture e2e test

Every post, tag, page and back link is now built from the blog's own address (look.blog), like #3 planned. The rewrite of the finished page is gone.

The e2e test still expected a base64 picture in a body to be refused. Since 1.1.0 it is saved as an upload. The test now checks that, and that a plain http picture is refused.
@necessarylion
necessarylion merged commit 6b91f97 into main Nov 7, 2026
1 check passed
@necessarylion
necessarylion deleted the blogger-links-from-blog-address branch November 7, 2026 02:03
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