Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67934 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17968 invoked from network); 27 Jun 2013 10:46:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jun 2013 10:46:48 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.45 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.45 mail-la0-f45.google.com Received: from [209.85.215.45] ([209.85.215.45:47702] helo=mail-la0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/C1-08517-6181CC15 for ; Thu, 27 Jun 2013 06:46:47 -0400 Received: by mail-la0-f45.google.com with SMTP id fr10so623939lab.32 for ; Thu, 27 Jun 2013 03:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=CzHcVhorY75O2RKXBaR01I3+njL7htnURCL20GV+7Ys=; b=jFnxX4+hr1EZpo0IgueOfFaKZal/3wwTkdyclT6YEhgpAyYr4L2EbAUtD36lgKlajb oxwuYBEYUQUgCvQp0YEYidrgYYPDZyBzHptK66pVKzTiGmlOxJPK43cnWeWZ3+ETggnb anLnNkhd+xz2Jxgcy8u4UTx4NsHk7xqojta5XMCIWSeDNpu+1Zdy1GUCoDoWDVlEJG5u uY6wbJMXr0uA3txLBZiGxwXDNpreKBt/0/3ZpNd8LSv1+gsb+zCAMKZR0fjziATI9WQ0 Th+1+H+1WIeRemX7gTs0IJrsr0IG4Lo0KUmkuAlGamg7+mT+aIm0rFMZi4oO1mHdc2X/ w/Vg== X-Received: by 10.152.115.242 with SMTP id jr18mr3877797lab.7.1372330003583; Thu, 27 Jun 2013 03:46:43 -0700 (PDT) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.4.233 with HTTP; Thu, 27 Jun 2013 03:46:03 -0700 (PDT) Date: Thu, 27 Jun 2013 19:46:03 +0900 X-Google-Sender-Auth: Mpig599Vc4FgHiWmYbKIQbjuvrM Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a11c3327a60dac004e0207add Subject: session.name limitation fix or not fix? From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a11c3327a60dac004e0207add Content-Type: text/plain; charset=ISO-8859-1 Hi all, I was browsing bugs and found old feature request that can be fixed easily. Request #35703 when session_name("123") consist only digits, should warning https://bugs.php.net/bug.php?id=35703&thanks=1 session.name cannot be integer like string, since it will be initialized as "long" key hash while session module trying to find as "string" key hash. I don't understand why some users are willing to use digits only session name, but problem is problem. It's not intuitive, but this limitation is documented. http://www.php.net/manual/en/function.session-name.php If any one of you think this should be fix (i.e. Raise error for invalid session name) I'll fix this. If not, I'll reply as "Won't fix". Any comments? -- Yasuo Ohgaki yohgaki@ohgaki.net --001a11c3327a60dac004e0207add--