Hi, I see in your code that you have hard coded the HTTP request path to be "/background-process/start". This doesn't work when clean URLs are off, nor does it work if the site is not in the root of the web server. Changing BackgroundProcess.class.php line 135 to this solves this issue for me:

    $path = url('background-process/start') .'/' . urlencode($this->handle) . '/' . urlencode($this->token);

Note also, that using urlencode like this only works based on certain assumptions of what it is you are encoding. You may be better to look at rawurlencode, potential twice if clean urls are in effect since url encoding is decoded once from clean url rewrite and again by php.

Comments

gielfeldt’s picture

Hi thanks. I will look into this.

gielfeldt’s picture

Assigned: Unassigned » gielfeldt
gielfeldt’s picture

Assigned: gielfeldt » Unassigned
Status: Active » Needs review

Hi

I've updated the module. It should now be able to handle "dirty" urls. The 6.x-1.1 and 7.x-1.0 releases contain the fix, as well as both the dev versions.

Can you confirm the fix also works for you?

gielfeldt’s picture

Status: Needs review » Fixed

I've worked more on this, and it now seems to work with/without clean urls and with/without subdir-installations. It is fixed in devs, 6.x-1.2 and 7.x-1.1+.

Please reopen ticket if there are still problems.

Status: Fixed » Closed (fixed)

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