Skip to content

Commit

Permalink
patches a href exploit
Browse files Browse the repository at this point in the history
  • Loading branch information
harryob authored Jun 21, 2023
1 parent 56980a0 commit c96ef5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/machinery/computer/groundside_operations.dm
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@
usr.RegisterSignal(cam, COMSIG_PARENT_QDELETING, TYPE_PROC_REF(/mob, reset_observer_view_on_deletion))

if("activate_echo")
var/reason = input(usr, "What is the purpose of Echo Squad?", "Activation Reason")
var/reason = strip_html(input(usr, "What is the purpose of Echo Squad?", "Activation Reason"))
if(!reason)
return
if(alert(usr, "Confirm activation of Echo Squad for [reason]", "Confirm Activation", "Yes", "No") != "Yes") return
Expand Down

0 comments on commit c96ef5e

Please sign in to comment.