Commit 9c5a5397 authored by Alyx's avatar Alyx
Browse files

xss

parent a79eee83
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -6,7 +6,7 @@
  <component name="ChangeListManager">
    <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$/includes/globals.php" beforeDir="false" afterPath="$PROJECT_DIR$/includes/globals.example.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" />
@@ -68,7 +68,7 @@
      <workItem from="1755241937333" duration="710000" />
      <workItem from="1756116680085" duration="6000" />
      <workItem from="1757033157550" duration="2530000" />
      <workItem from="1759616739122" duration="524000" />
      <workItem from="1759616739122" duration="797000" />
    </task>
    <servers />
  </component>
+0 −0

File moved.

+19 −17
Original line number Diff line number Diff line
@@ -17,13 +17,15 @@ if(!$result){
}

?>
<H2><?= ($result["title"] == "") ? "Untitled" : $result["title"] ?></H2>
    <H2><?= ($result["title"] == "") ? "Untitled" : htmlspecialchars($result["title"]) ?></H2>
    <P><?= $result['timestamp']; ?></P>
    <TABLE>
        <TR>
            <TD WIDTH="600">
            <TEXTAREA COLS="80" ROWS="35" BGCOLOR="BLUE" READONLY
                      STYLE="BACKGROUND-COLOR:LIGHTGRAY"><?= htmlspecialchars($result['paste']); ?></TEXTAREA>
                      STYLE="BACKGROUND-COLOR:LIGHTGRAY">
                <?= htmlspecialchars($result['paste']); ?>
            </TEXTAREA>
            </TD>
            <TD VALIGN="TOP">
                <?php