bugSavane - Bugs: bug #4947, Upper/lower case problems in host...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #4947: Upper/lower case problems in host names

Submitted by:  Kris Coolsaet <kcoolsae>
Submitted on:  Sat 24 Dec 2005 02:27:47 PM UTC  
 
Category: Web FrontendStatus: Fixed
Severity: 3 - NormalPriority: C - Normal
Assigned to: Tobias Quathamer <toddy>Open/Closed: Closed
Release: 1.3Planned Release: 1.4
Reproducibility: NonePrivacy: Public

Mon 26 Dec 2005 11:49:28 AM UTC, comment #1:

Hi,

thanks for reporting. This should be fixed in our repository and will be released with the next version of Savane.

Tobias Quathamer <toddy>
Project MemberIn charge of this item.
Sat 24 Dec 2005 02:27:47 PM UTC, original submission:

When setting a hostname for a group type using the wrong case, certain actions result in an infinite redirection loop.

For example: if the real name of a host is myhost.com and you set MyHost.com as a base host, then any request to http://myhost.com/... is automatically redirected to http://MyHost.com/, because $HTTP_HOST and $project->GetTypeBaseHost() are not the same.
Chances are however that browser or server will return a $HTTP_HOST
of myhost.com also for this new request, leading into an infinite loop of redirections. (FireFox signals a 'redirection limit exceeded' and bails out.)

Suggested correction: use a case independent compare between $HTTP_HOST and $project->GetTypeBaseHost() when checking whether a redirection is needed. This problem occurs in at least two different .php-files, so maybe the common code should be factored out?

Kris Coolsaet <kcoolsae>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one

Digest:
   task dependencies.

 

Carbon-Copy List
  • -unavailable- added by toddy (Updated the item)
  • -unavailable- added by kcoolsae (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Dec 2005 11:49:28 AM UTCtoddyStatusNone=>Fixed
      Assigned toNone=>toddy
      Planned Release=>1.4
      Open/Closed-Automatic update due to transitions settings-=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup