Download & Extend

403 Login Form, Bad Form Action With Non-Root base_url

Project:Ajax
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Follow these steps using a Drupal 6 installation within a non-root base-url. For instance, this would mean the base_url would be something like:
http://example.com/drupal

This bug, is breaking the Ajax.module Logintobbogan plugin.

1) Enable this option in the logintobboggan admin:

Present login form on access denied (403)

2) Logout

3) Go to the admin area

4) View source and look at form action. It will look something like this:

/drupal//drupal/admin?destination=/drupal/admin

Comments

#1

Status:active» postponed (maintainer needs more info)

i cannot reproduce this issue. my development environment has logintoboggan installed in a subdirectory of the webroot, and the access denied form works perfectly.

perhaps there's another contrib module causing problems?

#2

Status:postponed (maintainer needs more info)» fixed

nobody else is reporting this. please reopen if you can reproduce with an updated core and LT, and no other contribs enabled.

#3

Status:fixed» closed (fixed)

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

#4

Status:closed (fixed)» active

I've catched this bug at my site that use locale module.

1) Original URL was 'http://vido.com.ua/ru/node/add/video-subject-proposal?destination=video-subject-proposals'
2) In 403 page with login form form action were '/ru/ru/node/add/video-subject-proposal?destination=video-subject-proposals'

After 'Ajax.module Logintobbogan plugin' module was disabled URL became correct.

#5

Status:active» postponed (maintainer needs more info)

can somebody please clarify what 'Ajax.module Logintobbogan plugin' is? what module is that in, b/c it's not in LT.

#6

It is 'ajax'es (http://drupal.org/project/ajax) submodule with path 'ajax/plugins/loggintoboggan/ajax_logintoboggan.info'

#7

Project:LoginToboggan» Ajax
Version:6.x-1.4» 6.x-1.x-dev
Status:postponed (maintainer needs more info)» active