Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

Consider putting public-facing files in a public folder instead of mixing with application files

Offen
#935 2 Kommentare 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Refactoring
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
laravel, php
Bereich
backend, security

Rechercherichtung

Start by reading how the current deployment serves index.php and assets, and review the .htaccess protections mentioned in the issue. Check how the Laravel public-directory structure could fit LinkStack and what deployment changes it would require; the issue does not identify specific files or tests. Done means application and sensitive files are no longer exposed when the webserver points at the public folder, including under Caddy or nginx.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

LinkStack version

4.8.4

Description

Having all assets + index.php in a public folder then the webserver pointing to this public folder would remove the need to add custom rules to protect application + sensitive files in .htaccess (those are not read by nginx and caddy)

This is the recommended Laravel structure

Details about your system

Linkstack installed on server using Caddy + PHP (without using docker)

How to reproduce

Install Linkstack on a caddy server

Possible Solution
@block_files expression path_regexp('\\..*') || path_regexp('.*\\.sqlite')
respond @block_files 403
Additional Context

No response

Vorherrschende Sprache
PHP
Sterne
3.9k
Forks
440
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus LinkStackOrg/LinkStack

Alle Issues in LinkStackOrg/LinkStack

Ähnliche Issues

Weitere Issues zu PHP

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.