Files
guokexin.02 ba8c30ed20 refactor: simplify URL rewrite plumbing
- Drop the one-use urlrewrite.Resolver; ResolveProvider returns the
  exttransport.URLRewriter (nil when unsupported) and package Rewrite
  keeps the identity fallback.
- ExtensionMiddleware holds the rewriter directly; resolve interceptor
  and rewriter once with a single context; wrap invalid-rewrite errors
  with the extension name.
- Converge rewriting into URL builders (mail preview/icon, apps
  scaffold registry, resource URL paths, message app links, errclass
  ConsoleURL) instead of scattering it across formatting call sites.
- Remove dead context threading in cmd/update, the extra root-help
  template layering, and no-op churn in im/wiki/drive tests.
- Use an RFC 2606 .test host in the im-markdown rewrite test so the
  diff-scoped domain guard passes.
2026-09-09 11:30:01 +08:00
..