Client (with javascript enabled) reported Upload module uploads failing with the hashcash needs javascript error message. (Have not been able to reproduce yet.)

Comments

sdrycroft’s picture

Let me know if you manage to reproduce this issue Benjamin, it's now one I've come across myself to be honest.

mlncn’s picture

It was so easy to work around for us, and probably is for the great vast majority of users, that we haven't pursued reproducing.

We need haschash to block spam webform submissions but that's it; we don't actually allow anonymous users to post any content types let alone upload any files, so the workaround is simply to configure hashcash correctly to only apply to forms that need it (thanks for this flexibility!)

We checkmarked "Add Or Ignore" (which really means add) at admin/settings/hashcash and included the following forms:

user_login
user_login_block
user_register
webform_node_form

You'll want to look up the form ID fro the default contact module if you're using that.

Yes, there's still a bug here but for the great majority of haschash users sensible configuration should keep it from ever appearing. (More notes.)

ben, agaric

sdrycroft’s picture

Version: 5.x-1.5 » 6.x-2.0
Assigned: mlncn » sdrycroft
Status: Active » Fixed

This is now fixed in 6.x-2.1.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.