TiddlyWiki / TiddlyWiki/MultiWikiServer

[Idea] Show error on 403 or 404 for /wiki

Open
#82 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
60
Forks
16
PR merge metrics
No merged PRs in 30d

Description

If the user has no read access for a wiki, the server responds with an empty 403 page.
If the wiki does not exist, the server responds with an empty 404 page.

PC firefox gives a blank page.
Mobile firefox gives

Cannot Complete Request

Additional information about this problem or error is currently unavailable.

Mobile chrome gives a little more info.

The server should handle the issue by giving a page with a specific error message and a "go back home" button instead of letting the browser handle it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the /wiki requests for a user without read access and for a nonexistent wiki in the supported browsers. Trace the server handling for those 403 and 404 responses; done means each returns a page with a specific error message and a “go back home” button instead of an empty or browser-generated page.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
full-stack
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.