bugFreeciv - Bugs: bug #21744, Delegation is case-sensitive for...

 
 
Show feedback again

bug #21744: Delegation is case-sensitive for username

Submitted by:  Davide Baldini <davide_at_debian>
Submitted on:  Mon 03 Mar 2014 12:51:22 AM UTC  
 
Category: generalSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Release: 2.4.2Operating System: Any
Planned Release: 2.5.1, 2.6.0, 3.0.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 06 May 2015 10:43:15 PM UTC, SVN revision 29013:

Fixed delegation handling to be completely case-insensitive in respect to usernames.

Reported by Davide Baldini

See bug #21744

(Browse SVN revision 29013)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Wed 06 May 2015 10:43:06 PM UTC, SVN revision 29012:

Fixed delegation handling to be completely case-insensitive in respect to usernames.

Reported by Davide Baldini

See bug #21744

(Browse SVN revision 29012)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Wed 06 May 2015 10:42:57 PM UTC, SVN revision 29011:

Fixed delegation handling to be completely case-insensitive in respect to usernames.

Reported by Davide Baldini

See bug #21744

(Browse SVN revision 29011)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu 30 Apr 2015 01:34:38 AM UTC, comment #2:

Fix

(file #24403)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Thu 30 Apr 2015 01:13:12 AM UTC, comment #1:

Confirmed from connecthand.c that usernames are supposed to be case-insensitive (names differing only by case are considered duplicates).

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Mon 03 Mar 2014 12:51:22 AM UTC, original submission:

The current implementation of delegations is case-sensitive with regard to usernames. That is, if user "A" delegates his nation to user "B", "b" wouldn't be able to take the delegation from "A".

In Greatturn, games last for months and usernames can be somewhat long and complicated; sometimes users log-in typing their nicks w/o paying attention to case, and then they wonder why delegations stop working.

AFAIK, the whole structure of Freeciv is built to be case insensitive for usernames, so this patch, which comes from Longturn, is somewhat inconsistent. Moreover, Longturn solves this issue - for its sole benefit - by using the following custom code to internally handle delegations in interactions with DB:

I think this patch should be made consistent with the rest of Freeciv, by treating usernames case-insensitively.

Davide Baldini <davide_at_debian>

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #24403:  CaseInsensitiveDelegate.patch added by cazfi (1003B - text/plain-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (Updated the item)
  • -unavailable- added by davide_at_debian (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 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 06 May 2015 10:43:35 PM UTCcazfiStatusReady For Test=>Fixed
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Thu 30 Apr 2015 01:34:38 AM UTCcazfiStatusNone=>Ready For Test
    Thu 30 Apr 2015 01:34:37 AM UTCcazfiAttached File-=>Added CaseInsensitiveDelegate.patch, #24403
    Tue 21 Apr 2015 11:17:03 PM UTCcazfiPlanned Release=>2.5.1, 2.6.0, 3.0.0
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup