fix: DockerSecretsResolver - don't normalize absolute paths like /var/www/html/...
Some checks failed
Deploy Application / deploy (push) Has been cancelled
Some checks failed
Deploy Application / deploy (push) Has been cancelled
This commit is contained in:
52
resources/views/errors/403.view.php
Normal file
52
resources/views/errors/403.view.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>403 - Forbidden</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 2rem;
|
||||
background: #f5f5f5;
|
||||
}
|
||||
.error-container {
|
||||
background: white;
|
||||
border-radius: 8px;
|
||||
padding: 2rem;
|
||||
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
||||
}
|
||||
h1 {
|
||||
color: #d32f2f;
|
||||
margin-top: 0;
|
||||
}
|
||||
.error-message {
|
||||
background: #fff3cd;
|
||||
border-left: 4px solid #ffc107;
|
||||
padding: 1rem;
|
||||
margin: 1rem 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="error-container">
|
||||
<h1>403 - Forbidden</h1>
|
||||
<div class="error-message">
|
||||
<p>{{$message ?? 'Access denied. You do not have permission to access this resource.'}}</p>
|
||||
</div>
|
||||
@if(isset($debug) && $debug['isDebugMode'] ?? false)
|
||||
<div class="debug-info">
|
||||
<h3>Debug Information</h3>
|
||||
<p><strong>Exception:</strong> {{$debug['exceptionClass'] ?? 'Unknown'}}</p>
|
||||
<p><strong>File:</strong> {{$debug['file'] ?? 'Unknown'}}:{{$debug['line'] ?? 'Unknown'}}</p>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
16
resources/views/test/honeypot-test.view.php
Normal file
16
resources/views/test/honeypot-test.view.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Honeypot Test</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Honeypot Test Form</h1>
|
||||
<form method="POST" action="/test/honeypot-submit">
|
||||
<input type="text" name="name" placeholder="Name" required>
|
||||
<input type="email" name="email" placeholder="Email" required>
|
||||
<button type="submit">Submit</button>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user