Remove emojis from all markdown docs, add consolidation plan
- Strip emojis from 47 markdown files across docs/, sql/, and root - Add docs/DOCS_CONSOLIDATION_PLAN.md with plan to reduce 45 docs to 8 - Establish no-emoji rule for documentation going forward 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -98,7 +98,7 @@ objConn.Open
|
||||
|
||||
**MANDATORY:** ALL database queries MUST use parameterization.
|
||||
|
||||
**❌ NEVER DO THIS:**
|
||||
** NEVER DO THIS:**
|
||||
```vbscript
|
||||
' WRONG - SQL Injection vulnerable
|
||||
machineId = Request.QueryString("machineid")
|
||||
@@ -106,7 +106,7 @@ strSQL = "SELECT * FROM machines WHERE machineid = " & machineId
|
||||
Set rs = objConn.Execute(strSQL)
|
||||
```
|
||||
|
||||
**✅ ALWAYS DO THIS:**
|
||||
** ALWAYS DO THIS:**
|
||||
```vbscript
|
||||
' CORRECT - Parameterized query
|
||||
machineId = GetSafeInteger("QS", "machineid", 0, 1, 999999)
|
||||
@@ -272,13 +272,13 @@ function validateForm() {
|
||||
|
||||
**MANDATORY:** ALL user-controlled output MUST be HTML-encoded.
|
||||
|
||||
**❌ NEVER DO THIS:**
|
||||
** NEVER DO THIS:**
|
||||
```vbscript
|
||||
<h5><%=rs("machinename")%></h5>
|
||||
<p><%Response.Write(rs("description"))%></p>
|
||||
```
|
||||
|
||||
**✅ ALWAYS DO THIS:**
|
||||
** ALWAYS DO THIS:**
|
||||
```vbscript
|
||||
<h5><%=Server.HTMLEncode(rs("machinename"))%></h5>
|
||||
<p><%Response.Write(Server.HTMLEncode(rs("description")))%></p>
|
||||
@@ -367,12 +367,12 @@ Call LogError(pageName, Err.Number, Err.Description, Request.ServerVariables("RE
|
||||
|
||||
**MANDATORY:** NEVER expose technical details to users.
|
||||
|
||||
**❌ WRONG:**
|
||||
** WRONG:**
|
||||
```vbscript
|
||||
Response.Write("Error: " & Err.Description)
|
||||
```
|
||||
|
||||
**✅ CORRECT:**
|
||||
** CORRECT:**
|
||||
```vbscript
|
||||
Response.Redirect("error.asp?code=DATABASE_ERROR")
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user