I was given a list of items to fix. I subsequently went through my entire application to address each issue. I resubmitted but have been rejected again,
Can someone please tell me if I have missed something (as the reviewer did not provide further/exact reason (they said some of the issues raised have not been resolved)
I am having to make assumptions
Rejection Point (1)
Outputting unescaped data is a potential XSS risk. You should only output data that you expect, or need. For example, with Laravel and Blade, you can use this package: GitHub - mewebstudio/Purifier: HTMLPurifier for Laravel 5/6/7/8/9/10/11 which allows you to pass an array of allowed HTML
My Action
I added Purifier to all instances where I am outputting unescaped data
{!! clean($foo_bar) !!}
All other data is being displayed using double {{ $foo_bar }}
which according to laravel documentation, already protects from XSS by converting
to htmlspecial charectors
Rejection Point (2)
Don’t use @import, it prevents parallel downloads
My Action
I have removed all reference to @import. Searching my whole application,
there is no longer any instance of this
Rejection Point (3)
Don’t ship old libraries
My Action
I have updated all third party libraries (bootstrap, jquery etc)
Rejection Point (4)
All JavaScript should be written with “use strict” mode on
My Action
I have added "Use Strict** at the very top of every single javascript file.
// This is just a comment at the top of my js file. It will be disregarded
"use strict"
//my code here
Rejection 5
No inline scripts or styles unless dynamic:
My Action
I removed al < style > tags inside my HTML elements
I also removed all javascript code (However I am thinking this is where
the issue may be).
I replace the raw javascript code with a reference to a js file.
The links are however not in the footer but I have them with the HTML,
where they are needed (like in a dynamic modal window). Could this be the issue…is this still viewed an inline javascript, even though its a link to a js file?
These were the points raised at the last rejection. I then fixed them and indicated this point by point in my resubmission
I am now very worried about having my author account suspended (the reviewer mentioned this could happen)
I don’t know what to do now, as I am not even sure what I an said to not have fixed
If by some chance, the reviewer on my submission so happens to read this post
(please point me in the right direction, I would really appreciate it)
… I am so confused right now