Closed BenjaminHae closed 7 years ago
Thank you. I'll take a look
Maybe these changes deserve a version bump. But we could move all "background" php files to rest
before we do that. I'll do those when I have time again.
Yes, but I want to mark the current 'master' branch as a new release first. I.e. Mark the current 'master' branch as 9.12 and after you merge in this change, make it 9.13
Sorry but what do you mean by moving all background php to rest?
I want to move all that contain application logic to the rest/
folder. Like change.php
, insert.php
...
I'm not against it.
On Wed, Feb 1, 2017 at 9:59 PM Benjamin Häublein notifications@github.com wrote:
I want to move all that contain application logic to the rest/ folder. Like change.php, insert.php...
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/zeruniverse/Password-Manager/pull/123#issuecomment-276875572, or mute the thread https://github.com/notifications/unsubscribe-auth/AEbvNPuVhuBZqbqcQ-iNFz2YDQDLCCBFks5rYXDdgaJpZM4L0RPc .
This is a big PR that does the following:
Content-Security-Policy
which should remove any threat of Cross-Site-ScriptingX-Frame-Options
to prevent clickjacking.All of those changes make it possible for browsers to better use caching, as all static
html
,js
andcss
can be cached. This could mean a huge speed boost on mobile devices with bad internet connections.For future developers:
Content-Security-Policy
means no inline javascript or css is executed. So we can't useor
or
anymore. Instead use
and in a separate js file
The same goes for css:
instead put the style in the
style.css
file and use a class on the paragraph.I've tested everything on my test-installation. It worked very well so far.