Issue 222 in neologism: action attribute of form is not rewrited by base_url

0 views
Skip to first unread message

neol...@googlecode.com

unread,
Jul 19, 2013, 6:49:12 AM7/19/13
to neologis...@googlegroups.com
Status: New
Owner: ----

New issue 222 by Akihiro....@gmail.com: action attribute of form is not
rewrited by base_url
http://code.google.com/p/neologism/issues/detail?id=222

**What steps will reproduce the problem?
1. in nginx settings of 1st-domain server, set proxy to 2nd domain
2. in setting.php of neologism on 2nd domain, set
$base_url='http://2nd-domain/new-path',
$cookie_domain='2nd-domain',
'reverse_proxy' => TRUE,
'reverse_proxy_addresses' => array('1st-domain-ip')
3. install
4. vocabulary import form and login form (maybe and any other submit form)
are broken.
In other words, action attribute of form is not rewrited by $base_url.

**What is the expected output?
By pushing 'Log in' button, Log in.

**What do you see instead?
Redirected to "http://2nd-domain/old-path//user" and 404 come back.

**What version of the product are you using? On what operating system?
Neologism 0.5.3
Ubuntu 12.04

**Please provide any additional information below.
By executing,
javascript:document.forms[0].action = location.href
this problem can be temporarily solved.

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Reply all
Reply to author
Forward
0 new messages