You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .cursor/rules/project-overview.mdc
+17-45Lines changed: 17 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -117,94 +117,66 @@ Flight is highly extensible. Here are some recommended packages and plugins for
117
117
118
118
Choose the packages that best fit your project's needs. Official FlightPHP packages are recommended for core functionality.
119
119
120
-
## Security Best Practices
120
+
## Security Best Practices (Condensed)
121
121
122
-
All code implemented in this project must follow secure coding best practices. Insecure code will not be accepted. Always assume user input is hostile and never trust data from users or external sources. The following guidelines and examples are required for all code contributions:
122
+
All code must follow secure coding practices. Always treat user input as untrusted. Key requirements:
123
123
124
124
### Cross Site Scripting (XSS)
125
-
- Always escape output from users before rendering in views.
126
-
- Use Flight's view class or a templating engine like Latte, which auto-escapes variables.
127
-
125
+
- Always escape user output in views.
126
+
- Use Flight’s view class or a templating engine (e.g., Latte) for auto-escaping.
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+17-45Lines changed: 17 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -117,94 +117,66 @@ Flight is highly extensible. Here are some recommended packages and plugins for
117
117
118
118
Choose the packages that best fit your project's needs. Official FlightPHP packages are recommended for core functionality.
119
119
120
-
## Security Best Practices
120
+
## Security Best Practices (Condensed)
121
121
122
-
All code implemented in this project must follow secure coding best practices. Insecure code will not be accepted. Always assume user input is hostile and never trust data from users or external sources. The following guidelines and examples are required for all code contributions:
122
+
All code must follow secure coding practices. Always treat user input as untrusted. Key requirements:
123
123
124
124
### Cross Site Scripting (XSS)
125
-
- Always escape output from users before rendering in views.
126
-
- Use Flight's view class or a templating engine like Latte, which auto-escapes variables.
127
-
125
+
- Always escape user output in views.
126
+
- Use Flight’s view class or a templating engine (e.g., Latte) for auto-escaping.
Copy file name to clipboardExpand all lines: .windsurfrules
+17-45Lines changed: 17 additions & 45 deletions
Original file line number
Diff line number
Diff line change
@@ -117,94 +117,66 @@ Flight is highly extensible. Here are some recommended packages and plugins for
117
117
118
118
Choose the packages that best fit your project's needs. Official FlightPHP packages are recommended for core functionality.
119
119
120
-
## Security Best Practices
120
+
## Security Best Practices (Condensed)
121
121
122
-
All code implemented in this project must follow secure coding best practices. Insecure code will not be accepted. Always assume user input is hostile and never trust data from users or external sources. The following guidelines and examples are required for all code contributions:
122
+
All code must follow secure coding practices. Always treat user input as untrusted. Key requirements:
123
123
124
124
### Cross Site Scripting (XSS)
125
-
- Always escape output from users before rendering in views.
126
-
- Use Flight's view class or a templating engine like Latte, which auto-escapes variables.
127
-
125
+
- Always escape user output in views.
126
+
- Use Flight’s view class or a templating engine (e.g., Latte) for auto-escaping.
0 commit comments