CSRF-Protector-PHP icon indicating copy to clipboard operation
CSRF-Protector-PHP copied to clipboard

Library Not Working in the ROOT directory of cpanel

Open mohitvf opened this issue 4 years ago • 0 comments

This library is not working when i put my project directly in the root directory.

Root Directory(public_html) - Not working in this scenario

	csrf-lib(Library in root directory)
	file1->project file direct in root directory
	file2->project file direct in root directory
	file3->project file direct in root directory

Error : 1 .Generate null token in Get parameter ( mydomain.com?csrf_token=null ) 2. OWASP CSRF PROTECTOR VALIDATION FAILURE.

But it works when i put my project in a folder created inside the root directory.

Root Directory(public_html) - working perfect in this scenario

	csrf-lib(Library in root directory)
	My-project->folder in root directory(contains files)
	      file1->project file inside My-project Folder
	      file2->project file inside My-project Folder
	      file3->project file inside My-project Folder

Please help me it is mandatory to submit my project to Project Manager before 07 Dec 2021.

mohitvf avatar Dec 04 '21 16:12 mohitvf