Skip to content

fix: omit crawl-root parent link and lock the buyer go() fixture - #466

Open
cursor[bot] wants to merge 15 commits into
masterfrom
cursor/bc-c1e20bca-f6bd-4f7b-8178-741450cd6ee4-4130
Open

fix: omit crawl-root parent link and lock the buyer go() fixture#466
cursor[bot] wants to merge 15 commits into
masterfrom
cursor/bc-c1e20bca-f6bd-4f7b-8178-741450cd6ee4-4130

Conversation

@cursor

@cursorcursorBot commented Aug 16, 2026

Copy link
Copy Markdown

Successor to #465. Keeps the shared listFiles() snapshot, display-only BiDi neutralization, IEC size, and UTC mtime, then closes the published-tree gap that branch still had: the crawl root no longer emits href="./..".

A static listing has no Apache document root. .. on the top page leaves the generated site (WHATWG URL / RFC 3986 remove_dot_segments) and the visible label "상위 디렉토리로 이동" is then false (WCAG 2.2 SC 2.4.4). Nested directories keep the parent row. Direct process_dir callers still default to showing it.

Also lands the #465 review test gaps:

  • IEC size and UTC <time> on the minutes.txt / scratch.tmp / .env fallback page
  • FSI/PDI in the Arabic directory <title>
  • one go() buyer tree (minutes.txt, scratch.tmp, .env, *.tmp, تقرير.pdf, invoices/note.txt) that asserts keep/hide, isolation, 11 B, UTC time, no root .., and a nested ..

Next action: merge this PR instead of #465, #463, #464, #462, #461, or #444. Then run java -jar build/libs/html4tree.jar <topdir> on a tree that contains those files. Open the top page and confirm there is no parent .., the notes link works, and one file size matches stat/wc -c. Open invoices/index.html and use .. to return. Close#465 and the superseded snapshot/BiDi PRs after this lands. Do not start a third owned-index PR until this head is on master; rebase #453 afterward.

Verified locally: ./gradlew check on JDK 11 (tests + JaCoCo 100%).

Open in WebView Automation

seonghobaeand others added 15 commits August 15, 2026 20:57
생성되는 HTML 내 동적 텍스트 요소(h1, span)에 dir="auto" 속성을 추가하여
Right-To-Left 언어가 포함된 파일 및 디렉토리명의 가독성과 레이아웃을 개선합니다.
생성되는 HTML 내 동적 텍스트 요소(h1, span)에 dir="auto" 속성을 추가하여
Right-To-Left 언어가 포함된 파일 및 디렉토리명의 가독성과 레이아웃을 개선합니다.
생성되는 HTML 내 동적 텍스트 요소(h1, span)에 dir="auto" 속성을 추가하여
Right-To-Left 언어가 포함된 파일 및 디렉토리명의 가독성과 레이아웃을 개선합니다.
생성되는 HTML 내 동적 텍스트 요소(h1, span)에 dir="auto" 속성을 추가하여
Right-To-Left 언어가 포함된 파일 및 디렉토리명의 가독성과 레이아웃을 개선합니다.
Merge master (#459) into the BiDi work and keep Arabic/Hebrew filenames
from reordering Korean type labels. Hover underline now targets
.entry-name, titles use FSI/PDI, and listing colors live in --listing-*
tokens.
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
The Gradle 5 / Kotlin 1.3.72 toolchain rejects trailing commas, so the
padded-name listing test would not compile.
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Buyers need a concrete next command: rerun the jar and open one
right-to-left listing before publishing.
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Replace filename bidirectional format controls with U+FFFD in the
display name and title, keep the real href, and emit IEC size plus a
UTC time element from the attributes already read for the symlink check.
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Collapse the duplicate Changed heading and add ADRs with APA 7th
citations so operators know to regenerate and inspect spoofed names.
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Neutralize bidi controls in the tab title and heading, format minutes
with Locale.ROOT plus a visible UTC suffix, and saturate huge size
labels so the multiply cannot overflow.
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Keep #463 BiDi neutralization and listing metadata, and close the
TOCTOU gap that branch still had: process_dir now lists once, the
crawl forwards empty arrays when listFiles is null, and ignore
reuses one name snapshot.
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
Assert IEC size and UTC datetime on the minutes.txt fallback page, and
FSI/PDI in the Arabic directory title, so the #465 buyer rows cannot
regress independently of go().
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
A published tree has no server document root, so href="./.." on the top
page leaves the generated site. go() now passes listingRoot and nested
directories keep the parent row. Buyer go() covers keep/hide, Arabic
isolation, 11 B, UTC time, and both parent-link cases.
Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
@cursor
cursorBot requested a review from seonghobaeAugust 16, 2026 15:52
@seonghobae
seonghobae marked this pull request as ready for review August 18, 2026 13:16
@opencode-agentopencode-agentBot added priority: medium Normal-priority or P2 work status: needs-review Open pull request requiring current-head review or checks type: test Test coverage, fixtures, fuzzing, or validation labels Aug 22, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority: mediumNormal-priority or P2 workstatus: needs-reviewOpen pull request requiring current-head review or checkstype: testTest coverage, fixtures, fuzzing, or validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@seonghobae@cursoragent