Skip to content

sesuaikan kemananan xss#1444

Merged
vickyrolanda merged 3 commits intodevfrom
dev-1427
Feb 8, 2026
Merged

sesuaikan kemananan xss#1444
vickyrolanda merged 3 commits intodevfrom
dev-1427

Conversation

@habibie11
Copy link
Contributor

@habibie11 habibie11 commented Feb 5, 2026

issue #1427

Perubahan kode di Middleware XssSanitization menggunakan antiXSS dari library voku yang sudah ada :

use voku\helper\AntiXSS;

array_walk_recursive($input, function (&$input) {
    if (is_string($input)) {
        $antiXss = new AntiXSS();
        $input = $antiXss->xss_clean($input);
    }
});

pengecekan :

  • pastikan tidak terjadi error ketika mengakses aplikasi

@vickyrolanda
Copy link
Contributor

mas @habibie11 cek pada tab checks pastikan semua unit testing berhasil jalan apakah ada yang perlu disesuaikan di PR ini untuk memastikan check bisa jalan semua.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants