Commit a79eee83 authored by Alyx's avatar Alyx
Browse files

xss???

parent 51a10260
Loading
Loading
Loading
Loading
+16 −13
Original line number Diff line number Diff line
@@ -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" />
@@ -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">{
  &quot;keyToString&quot;: {
    &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
    &quot;last_opened_file_path&quot;: &quot;/Users/alyx/PhpstormProjects/wastebin/components&quot;,
    &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
    &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
    &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
    &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
    &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
    &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
  }
}]]></component>
}</component>
  <component name="RecentsManager">
    <key name="CopyFile.RECENT_KEYS">
      <recent name="$PROJECT_DIR$/components" />
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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>
+1 −1
Original line number Diff line number Diff line
@@ -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