]> source.dussan.org Git - nextcloud-server.git/commit
- eventsource.php: in case of potential CSRF attack we send an error message from...
authorThomas Müller <thomas.mueller@tmit.eu>
Wed, 10 Jul 2013 22:00:01 +0000 (00:00 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Wed, 10 Jul 2013 22:27:21 +0000 (00:27 +0200)
commitd18bd17eb7d13010e3daef5351d7f7ec64480fd7
treec1c729a778c41fc157ba546083fee9e86f174421
parentd134ba9a82a904ba317d4a6d9a75e46ab9249ddc
- eventsource.php: in case of potential CSRF attack we send an error message from the EventSource to the browser
- eventsource.js: handle undefined data on event
- update.js: in case of error we close the event source - advise the user to reload the page
- update.php: EventSource initialization is now done before we enter the maintenance mode in order to allow browser reload in case of possible CSRF attack
core/js/eventsource.js
core/js/update.js
lib/eventsource.php