Skip to content

Clarify documented slash handling in universal-module URLs - #7

Merged
Sebastian Mertens Make (MAKESEB) merged 2 commits into
mainfrom
fix/universal-url-redundant-slash
Nov 12, 2026
Merged

Sebastian Mertens Make (MAKESEB) merged 2 commits into
mainfrom
fix/universal-url-redundant-slash

Conversation

@dovile-make

@dovile-make Dovilė Sližytė (dovile-make) commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Reviewers were treating a fixed URL prefix ending in / plus an input starting with / as a defect and rewriting working modules. The guide now cites Make's REST documentation, which explicitly removes that extra slash, and limits the rule to this prefix/input boundary.

Validation: four portability tests and current-knowledge static checks pass locally. GitHub CI runs the full unit, packaging and SDK suites. No live Make or provider execution is claimed.

Make collapses consecutive slashes in the request path before sending, so a
fixed prefix ending in / joined with a user path starting with / is sent with
one slash. Reviewers probing the provider directly were reporting it as a
broken request and adding slash-stripping expressions to working modules.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@dovile-make

Copy link
Copy Markdown
Contributor Author

Seen again in a second batch of 20 independent reviews (same day, skill at 522944f, so without this change): the doubled slash on the universal module was raised in 11 of 20 reviews. None graded it blocking this time, but most "fixed" it, by editing the help example or by adding a slash-stripping expression.

One of those fixes is worth recording because it made the module unsafe: the reviewer resolved https://host/ + /path by removing the slash after the host, leaving "url": "https://host{{parameters.url}}" guarded only by a validate.pattern on the input. Without the / that closes the host, a value starting with @ or . moves the request, with the connection's credential, to another host, and whether the pattern is enforced on mapped values is not something the skill states. In the same batch, two apps arrived with exactly this shape (host running straight into the input) and it was the one blocking item in each.

So the instruction that the doubled slash is not a defect also needs its counterpart: never resolve it by dropping the slash after the host. #5 adds that safe pattern ("the trailing / closes the host" and the pitfall "a host that runs straight into the input as safe"), so the two PRs cover it together.

🤖 Generated with Claude Code

@dovile-make

Dovilė Sližytė (dovile-make) commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Seen again in a third batch (20 more independent reviews, 2026-11-12, skill still at 522944f): the doubled slash on the universal module was raised as a finding in 7 of 20 reviews, and graded blocking in 3.

All 3 blocking cases followed the same path: the guide calls an unverified double slash advisory, so the reviewer "verified" it by calling the provider directly without credentials, saw //path answered with a not-found or a redirect, and upgraded the finding to a functional defect ("the module reaches nothing"). In all 3 apps the developers' own runs of the module had worked. Each review returned a rewritten url with a slash-stripping replace(...).

The other 4 kept it advisory, but all 4 rewrote the help example to a path without a leading slash, which is the opposite of the convention in Make's universal-module docs.

Two reviewers in this batch avoided the finding only because they happened to find the sentence in Make's REST universal-module page saying the platform removes the extra slash; one noted they "nearly raised a false blocker" before finding it. That sentence is what this PR puts into the guide.

🤖 Generated with Claude Code

Ground the extra-slash rule in Make REST documentation and restrict it to
the fixed-prefix/input boundary that the source actually covers.

Confidence: high
Scope-risk: narrow
Tested: Static current-knowledge checks and four portability tests
Not-tested: Live Make or provider execution
@MAKESEB Sebastian Mertens Make (MAKESEB) changed the title Say that a doubled slash in a universal-module path is not a defect Clarify documented slash handling in universal-module URLs Nov 12, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the final diff and corrections. Current-head static, unit, packaging and SDK CI checks pass. No live Make/provider validation is claimed.

@MAKESEB
Sebastian Mertens Make (MAKESEB) merged commit d9d90af into main Nov 12, 2026
3 checks passed
@MAKESEB
Sebastian Mertens Make (MAKESEB) deleted the fix/universal-url-redundant-slash branch November 12, 2026 10:18
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