Closed (fixed)
Project:
Domain
Version:
5.x-1.0beta5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Oct 2007 at 23:16 UTC
Updated:
18 Nov 2007 at 17:01 UTC
Currentyl, we use domain_goto($domain) to ensure that form pages are submitted from the correct subdomain. This is mostly needed with Domain Conf and Domain Content.
I got a little too aggressive and adding this to the Domain Create and Domain Edit functions, which can cause a problem. If you create a domain record for an invalid domain, you cannot edit it; you must delete and start over.
Fix is to remove domain_goto() from those form pages.
We could, if needed, validate a newly created domain by running drupal_http_request() on domain creation. That might be helpful; but it might be code bloat, too.
Comments
Comment #1
agentrickardRemoved domain_goto(). The other part could be brought up as a feature request.
Comment #2
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.