Skip to content

Commit 271d1ab

Browse files
authored
Made link relative
The link to the event listeners JS file started with a / which caused it to not work in some instances.
1 parent 1ef8152 commit 271d1ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dvwa/includes/dvwaPage.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function dvwaHtmlEcho( $pPage ) {
372372
<div id=\"footer\">
373373
374374
<p>Damn Vulnerable Web Application (DVWA)</p>
375-
<script src='" . DVWA_WEB_PAGE_TO_ROOT . "/dvwa/js/add_event_listeners.js'></script>
375+
<script src='" . DVWA_WEB_PAGE_TO_ROOT . "dvwa/js/add_event_listeners.js'></script>
376376
377377
</div>
378378

0 commit comments

Comments
 (0)