• Resolved dangerd512

    (@dangerd512)


    Wordfence blocks file upload for non administrators, it only works if i disable this rule:
    Malicious File Upload (Patterns)
    It just gives “internal server error” (Maximum execution time of 30 seconds exceeded)
    How can i whitelist upload url?

    Tried to add it to Allowlisted URLs:
    /wp-admin/admin-ajax.php?action=propertys_ajax&act=uploadFloorPlan* request.body[file]

    But that didn’t helped, maybe it’s due to it doesn’t supports ‘*’ in url?

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @dangerd512,

    Did you already try Learning Mode before manually adding this yourself? Any forms processed whilst Learning Mode is activated should add correctly to the allowlist. Sometimes this will need to be tested as a signed in and a non-signed in user to ensure all possible eventualities are covered.

    Wildcards may not be supported in this context although some Wordfence settings do accept them. When adding an allowlisted URL manually, the browser console usually needs inspecting on the “Network” tab and the request type, POST/GET contents and other details matching exactly to be accepted.

    Let me know how you get on, or if you’ve already tried the above.

    Thanks,

    Peter.

Viewing 1 replies (of 1 total)
  • The topic ‘File upload error’ is closed to new replies.