Skip to content

phpBB SEO Lite 1.2.5

Latest

Choose a tag to compare

@meis2m meis2m released this 27 Sep 20:02
· 1 commit to main since this release

phpBB SEO Lite 1.2.5

Fixed

  • Administrative Path Isolation (ACP, MCP, UCP, adm/):
    • Fixed a critical regression in ACP pagination (e.g. Manage bots, Admin log) where clicking page numbers redirected to the board index instead of the respective ACP module page.
    • Added strict isolation guards across PublicResourceUrlResolver and SeoListener (onPaginationGeneratePageLink, onAppendSid, onPageHeader, onCommon, onUserSetup, onModifyUsernameString, onModifyGroupNameString) to guarantee that URLs targeting ACP (adm/, IN_ADMIN, ADMIN_START), MCP (mcp.php), or UCP (ucp.php) are never intercepted or rewritten by the SEO framework.
    • Fixed the JS "Jump to page" box (data-base-url) in ACP pagination templates by preserving original administrative URLs in BASE_URL.
  • Malformed Query Parameter Attachment (/&view=print & /&bookmark=1):
    • Fixed core phpBB template variable concatenation bug where &view=print or &bookmark=1 were naively appended to query-less SEO URLs without a ? delimiter.
    • Added inbound query regex healing in rewrite.php and InboundRouteResolver supporting both slash-terminated (/topic/slug/&view=print) and extension-terminated (/t1-slug.html&view=print) URLs.
    • Updated SeoListener::onPageHeader to heal U_PRINT_TOPIC and U_BOOKMARK_TOPIC before rendering, and bypass legacy rewrite redirects for print view requests.
  • Duplicate Anchor Fragments in Post Links (#p{id}#p{id}):
    • Fixed duplicate #p anchor generation in PublicResourceUrlResolver where #p{id} was added on the append_sid path while phpBB core (viewtopic.php, viewforum.php, search.php, posting.php) automatically appends its own #p{id} to the returned URL.
    • PublicResourceUrlResolver now omits #p on append_sid when no anchor is present in the input, while server 301 redirects (CanonicalResolver) continue to emit exactly one #p{id} fragment.

Added

  • Official Extension Pre Validator (EPV) & Test Suite Tooling:
    • Full codebase refactoring for phpBB EPV compliance (utf8_htmlspecialchars, explicit integer casting in SQL queries, core table constants).
    • Added official license.txt conforming to phpBB CDB packaging standards.
    • Added comprehensive unit test coverage for ACP, MCP, and UCP pagination isolation, /&view=print parameter healing, and post anchor fragment deduplication.