nodeSolidServer / nodeSolidServer/node-solid-server

Requesting index.html from root will serve the data browser, not the file itself

Aberta
#1,345 3 comentários 4 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

bug regression
Linguagem predominante
JavaScript
Estrelas
1.8k
Forks
308
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Based on https://github.com/solid/userguide/pull/7 I became aware that if you request index.html from the root of a storage, it will return the HTML for the data browser instead of the index.html file itself.

E.g. https://megoth.solid.community/ will give another response than https://megoth.solid.community/index.html. The latter is a handy bug for people who want to edit the index.html file though, so before fixing this bug we need to make sure that users have the ability to edit index.html via the data browser using other means.

With the fix in https://github.com/solid/node-solid-server/pull/1341 we do get this feature though, as users can fetch the contents of index.html through "Your stuff" in the Dashboard. This paves the way for a fix for this bug, which would result in the correct HTML being returned, which is also good for the Source, which will show the correct HTML instead of the default HTML for the data browser.

Guia de contribuição

Abrir o guia de contribuição

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Direção de pesquisa

Revise node-solid-server pull request 1341 e o tratamento das solicitações para a raiz do armazenamento e /index.html. Confirme que os usuários ainda podem buscar index.html por meio de Your stuff no Dashboard e, em seguida, verifique se a solicitação à raiz e Source exibem o HTML do arquivo em vez do HTML do navegador de dados.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
javascript, nodejs
Domínio
backend
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.