Loading .idea/workspace.xml +16 −13 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ <list default="true" id="2b17b81e-3e24-4cf6-9007-df4d9df4df30" name="Changes" comment=""> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/components/recent.php" beforeDir="false" afterPath="$PROJECT_DIR$/components/recent.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/viewpaste.php" beforeDir="false" afterPath="$PROJECT_DIR$/viewpaste.php" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> Loading @@ -30,18 +29,18 @@ <option name="hideEmptyMiddlePackages" value="true" /> <option name="showLibraryContents" value="true" /> </component> <component name="PropertiesComponent"><![CDATA[{ "keyToString": { "RunOnceActivity.ShowReadmeOnStart": "true", "last_opened_file_path": "/Users/alyx/PhpstormProjects/wastebin/components", "node.js.detected.package.eslint": "true", "node.js.detected.package.tslint": "true", "node.js.selected.package.eslint": "(autodetect)", "node.js.selected.package.tslint": "(autodetect)", "nodejs_package_manager_path": "npm", "vue.rearranger.settings.migration": "true" <component name="PropertiesComponent">{ "keyToString": { "RunOnceActivity.ShowReadmeOnStart": "true", "last_opened_file_path": "/Users/alyx/PhpstormProjects/wastebin/components", "node.js.detected.package.eslint": "true", "node.js.detected.package.tslint": "true", "node.js.selected.package.eslint": "(autodetect)", "node.js.selected.package.tslint": "(autodetect)", "nodejs_package_manager_path": "npm", "vue.rearranger.settings.migration": "true" } }]]></component> }</component> <component name="RecentsManager"> <key name="CopyFile.RECENT_KEYS"> <recent name="$PROJECT_DIR$/components" /> Loading @@ -65,7 +64,11 @@ <option name="presentableId" value="Default" /> <updated>1754973409416</updated> <workItem from="1754973410430" duration="2774000" /> <workItem from="1754976392084" duration="13007000" /> <workItem from="1754976392084" duration="15062000" /> <workItem from="1755241937333" duration="710000" /> <workItem from="1756116680085" duration="6000" /> <workItem from="1757033157550" duration="2530000" /> <workItem from="1759616739122" duration="524000" /> </task> <servers /> </component> Loading components/recent.php +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ while ($row = mysqli_fetch_assoc($result)) { ?> <LI> <A href="/viewpaste.php?p=<?= $row['slug']; ?>"><I><?= ($row["title"] == "") ? "Untitled" : htmlentities($row["title"]) ?></I></A> <A href="/viewpaste.php?p=<?= $row['slug']; ?>"><I><?= ($row["title"] == "") ? "Untitled" : htmlspecialchars($row["title"]) ?></I></A> <BR> <?= $row['timestamp']; ?> </LI> Loading viewpaste.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ if(!$result){ <TR> <TD WIDTH="600"> <TEXTAREA COLS="80" ROWS="35" BGCOLOR="BLUE" READONLY STYLE="BACKGROUND-COLOR:LIGHTGRAY"><?= htmlentities($result['paste']); ?></TEXTAREA> STYLE="BACKGROUND-COLOR:LIGHTGRAY"><?= htmlspecialchars($result['paste']); ?></TEXTAREA> </TD> <TD VALIGN="TOP"> <?php Loading Loading
.idea/workspace.xml +16 −13 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ <list default="true" id="2b17b81e-3e24-4cf6-9007-df4d9df4df30" name="Changes" comment=""> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/components/recent.php" beforeDir="false" afterPath="$PROJECT_DIR$/components/recent.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/index.php" beforeDir="false" afterPath="$PROJECT_DIR$/index.php" afterDir="false" /> <change beforePath="$PROJECT_DIR$/viewpaste.php" beforeDir="false" afterPath="$PROJECT_DIR$/viewpaste.php" afterDir="false" /> </list> <option name="SHOW_DIALOG" value="false" /> Loading @@ -30,18 +29,18 @@ <option name="hideEmptyMiddlePackages" value="true" /> <option name="showLibraryContents" value="true" /> </component> <component name="PropertiesComponent"><![CDATA[{ "keyToString": { "RunOnceActivity.ShowReadmeOnStart": "true", "last_opened_file_path": "/Users/alyx/PhpstormProjects/wastebin/components", "node.js.detected.package.eslint": "true", "node.js.detected.package.tslint": "true", "node.js.selected.package.eslint": "(autodetect)", "node.js.selected.package.tslint": "(autodetect)", "nodejs_package_manager_path": "npm", "vue.rearranger.settings.migration": "true" <component name="PropertiesComponent">{ "keyToString": { "RunOnceActivity.ShowReadmeOnStart": "true", "last_opened_file_path": "/Users/alyx/PhpstormProjects/wastebin/components", "node.js.detected.package.eslint": "true", "node.js.detected.package.tslint": "true", "node.js.selected.package.eslint": "(autodetect)", "node.js.selected.package.tslint": "(autodetect)", "nodejs_package_manager_path": "npm", "vue.rearranger.settings.migration": "true" } }]]></component> }</component> <component name="RecentsManager"> <key name="CopyFile.RECENT_KEYS"> <recent name="$PROJECT_DIR$/components" /> Loading @@ -65,7 +64,11 @@ <option name="presentableId" value="Default" /> <updated>1754973409416</updated> <workItem from="1754973410430" duration="2774000" /> <workItem from="1754976392084" duration="13007000" /> <workItem from="1754976392084" duration="15062000" /> <workItem from="1755241937333" duration="710000" /> <workItem from="1756116680085" duration="6000" /> <workItem from="1757033157550" duration="2530000" /> <workItem from="1759616739122" duration="524000" /> </task> <servers /> </component> Loading
components/recent.php +1 −1 Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ while ($row = mysqli_fetch_assoc($result)) { ?> <LI> <A href="/viewpaste.php?p=<?= $row['slug']; ?>"><I><?= ($row["title"] == "") ? "Untitled" : htmlentities($row["title"]) ?></I></A> <A href="/viewpaste.php?p=<?= $row['slug']; ?>"><I><?= ($row["title"] == "") ? "Untitled" : htmlspecialchars($row["title"]) ?></I></A> <BR> <?= $row['timestamp']; ?> </LI> Loading
viewpaste.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ if(!$result){ <TR> <TD WIDTH="600"> <TEXTAREA COLS="80" ROWS="35" BGCOLOR="BLUE" READONLY STYLE="BACKGROUND-COLOR:LIGHTGRAY"><?= htmlentities($result['paste']); ?></TEXTAREA> STYLE="BACKGROUND-COLOR:LIGHTGRAY"><?= htmlspecialchars($result['paste']); ?></TEXTAREA> </TD> <TD VALIGN="TOP"> <?php Loading