This resource is for KnowledgeTree community members. Commercial Customers can log new support cases via the KnowledgeTree Support Portal


KnowledgeTree Community Edition

Refactor kt_url() and review the cache/serverName.txt implementation

Details

  • Type: Dev-Task Dev-Task
  • Status: Closed Closed
  • Priority: Priority Four: Feature fix Priority Four: Feature fix
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: STABLE 3.5.4
  • Component/s: None

Issue Links

Activity

Hide
Conrad Vermeulen added a comment - 18/Sep/08 12:30 PM
this issue makes KTS-3686 redundant.
Show
Conrad Vermeulen added a comment - 18/Sep/08 12:30 PM this issue makes KTS-3686 redundant.
Hide
Megan Watson added a comment - 18/Sep/08 02:22 PM
The serverName now gets stored in system_settings in the DB instead of in serverName.txt. kt_url() will now only use it if HTTP_HOST is empty or set to localhost (dmsDefaults sets it to localhost if it isn't set). HTTP_HOST is usually empty when running in command line mode, eg when using curl.

In dmsDefaults the serverName is now resolved each time instead of using the cached value.
Show
Megan Watson added a comment - 18/Sep/08 02:22 PM The serverName now gets stored in system_settings in the DB instead of in serverName.txt. kt_url() will now only use it if HTTP_HOST is empty or set to localhost (dmsDefaults sets it to localhost if it isn't set). HTTP_HOST is usually empty when running in command line mode, eg when using curl. In dmsDefaults the serverName is now resolved each time instead of using the cached value.
Hide
Jarques added a comment - 23/Sep/08 09:14 AM
23 09 2008. Tested, Passed and Closed.
Server: KTDMS 3.5.3a Commercial (2008-09-22-110934) (Installed on Ubuntu 8)

Clients (server access via SSL remote connection from:)
  - Windows XP IE6, FF 3.0
  - Windows Vista IE7, FF3 beta5

Result:
User could navigate to local host and remote servers on the same environment and browser.

JC
Show
Jarques added a comment - 23/Sep/08 09:14 AM 23 09 2008. Tested, Passed and Closed. Server: KTDMS 3.5.3a Commercial (2008-09-22-110934) (Installed on Ubuntu 8) Clients (server access via SSL remote connection from:)   - Windows XP IE6, FF 3.0   - Windows Vista IE7, FF3 beta5 Result: User could navigate to local host and remote servers on the same environment and browser. JC

People

Dates

  • Created:
    12/Sep/08 03:24 PM
    Updated:
    24/Mar/09 09:00 PM
    Resolved:
    18/Sep/08 02:22 PM