BUG: ColdFusion does not handle conflicting cookies correctly

(I have reported this as a bug - I'm posting it here to hopefully save people from having to go through the same process)
If I've got a CF instance on test1.k9.edu, and my cookie jar has CFID/CFToken cookies for both 'test1.k9.edu' and '.k9.edu', CF behaves badly in two ways:
1) A CFDump of COOKIE shows two entries for each of the CFID and CFToken cookies
2) the values are identical, and match the first one set - NOT the most specific - 'test1.k9.edu' should always take precedence, but the CF behavior is that it only takes precedence if the browser got it before the '.k9.edu' value (browser in this case is FireFox 20.0.1)
The net result is... that if I browse to foo.k9.edu and it sets CFID/CFToken cookies at the domain level... and then go to 'test1.k9.edu' which does not set domain cookies... I will not be able to maintain a session (assuming that 'test1' has the latest security fixes) at test1.k9.edu until I scrub my cookies - each request will take the '.k9.edu' values, reject them because they didn't originate locally... and issue new cookies (which will be ignored by the next request... and so on)
This problem is not limited to CFID/CFToken cookies, although this is where the problem is most urgent, as it could be exploited to create a domain-wide denial of service (by effectively blocking session use for all CF instances in the domain)
The test case is very simple  (change the domain in this example as appropriate for your installation)
[for this example, all requests go to test1.k9.edu - adjust to match your domain]
first request - run this:
<cfcookie name="test1a" value="domain(domain cookie sent first first)" domain=".k9.edu">
<cfcookie name="test1b" value="no-domain(non-domain cookie sent first)">
second request - run this:
<cfcookie name="test1a" value="no-domain(domain cookie sent first first)">
<cfcookie name="test1b" value="domain(non-domain cookie sent first)" domain=".k9.edu">
third request - run this:
<cfdump var=#cookie#>
===============
My tests were all done with FireFox 20.0.1 with ColdFusion 10 (stand-alone), updater 10 applied.  My web server is Apache 2.2.  The same problem is seen with CF9.0.2.
The same tests run with Railo 3.3.4 (Tomcat 7) produced correct results (value seen in CFDump results is reliably from the most-specific cookie)

I feel your pain, more so as you are trying to assist in making a product better. I would fire off an email to the top dog, Steve Jobs. As well, Apple should make a habit of trolling the forums here as they are where the real work of fixing and educating Apple customers takes place. I am amazed by the assistance I have had here and try to assist where I can while avoiding anything to make matters worse. Those Top Users just to my right deserve praise and an Apple goodie every now and then. There ought to be a hall of fame too.
< Edited by Host >

Similar Messages

  • FF 4.01 does not handle Text Box correctly and some pages need reloading before showing correctly

    FF 4.01 does two things incorrectly when displaying some sites which are not replicated on Google Chrome:
    # 1: Some pages do not load correctly first time and the images and text are spread out vertically one by one.
    # 2: Where websites use inserted TEXTBOXES or ONLINE FORMS these do not function and come up with error messages like as given below. These do not reset correctly if the page is reloaded.
    FreeTextBox has not been correctly installed. To install FreeTextBox either:
    (1) add a reference to FtbWebResource.axd in web.config:
    <system.web>
    <httpHandlers>
    <add verb="GET"
    path="FtbWebResource.axd"
    type="FreeTextBoxControls.AssemblyResourceHandler, FreeTextBox" />
    </httpHandlers>
    </system.web>
    (2) Save the FreeTextBox image and javascript files to a location on your website and set up FreeTextBox as follows
    <FTB:FreeTextBox id="FreeTextBox1" SupportFolder="ftbfileslocation" JavaScriptLocation="ExternalFile" ButtonImagesLocation="ExternalFile" ToolbarImagesLocation="ExternalFile" ButtonImagesLocation="ExternalFile" runat="server" />

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • Premiere Pro CC does not open MOD files correctly

    Hi,
    I just started using the Adobe Creative Cloud as a trial, in particular the Premiere Pro CC software, since it might be relevant, I am working on a mac (completely updated as of yesterday).
    I have a JVC GZ-MG505 camcorder. This device saves the video files on an internal HDD in a file format called MOD. From what I have been able to see when searching on the web, this should be nothing more than a MPEG-2 file.
    So, I tried importing some video files into Premiere Pro and to my surprise, I noticed that a whole strip on the right hand side of the image is missing. The original is recorded in a widescreen (16:9) format with 720x576 pixels and Premiere Pro gives me a file with 540x576 pixels. I have tried using the Interpret Footage to change this, but it doesn't let me change the number of pixels. I also tried opening the files in Adobe Media Encoder and I have exactly the same results as in Premiere Pro. However, opening the files in VLC or mPlayer they come out exactly as expected with all the pixels there. Has anyone come accross this problem before or can anyone help me with solving this?
    I could try reencoding the files with VLC, but the output file is much smaller than the input file, so I am afraid I am loosing some definition.
    So, just to restate my problem, the adobe products open my MOD files without complaining, but for some reason they loose a strip 180 pixels wide on the right hand side of the image.
    Cheers

    Premiere Pro CC does not open MOD files correctly
    That is correct: there is a bug in CC. In CS6 they work correctly.
    Please file a bug report.
    http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform
    http://forums.adobe.com/message/5658455#5658455
    search for mod files and you will find one or two other threads.

  • [svn] 3580: MXMLG-243 - Path does not draw in the correct location when width and height are set

    Revision: 3580
    Author: [email protected]
    Date: 2008-10-10 16:24:50 -0700 (Fri, 10 Oct 2008)
    Log Message:
    MXMLG-243 - Path does not draw in the correct location when width and height are set
    Fixed MatrixUtil.transformBounds to offset the four bound points by the origin
    Bug: MXMLG-243
    QA: Yes
    Doc: No
    Review: Evtim
    Ticket Links:
    http://bugs.adobe.com/jira/browse/MXMLG-243
    http://bugs.adobe.com/jira/browse/MXMLG-243
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/MatrixUtil.as

    Hi,
    For web application problem, please post your thread in
    ASP.NET forum.
    Best Wishes!
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey. Thanks<br/> MSDN Community Support<br/> <br/> Please remember to &quot;Mark as Answer&quot; the responses that resolved your issue. It is a common way to recognize those who have helped you, and
    makes it easier for other visitors to find the resolution later.

  • WLS does not handle reusable jar with tag-files?

    I want to encapsulate some tag-files in a re-usable jar that can be included in multiple applications. According to all the documentation that I've found what I need to do is create a jar file containing:
    META-INF/taglib.tld
    META-INF/tags/myTag.tag
    where the taglib.tld contains (among other things):
    <uri>myTag</uri>
    <tag-file>
    <name>someName</name>
    <path>META-INF/tags/myTag.tag</path>
    </tag-file>
    Then I am supposed to take that jar file and put it in my web application under WEB-INF/lib,
    and in my index.jsp I can refer to <%@taglib prefix="myt" uri="myTag">
    However when I do this (on wls 12c) the application seems to deploy ok but when I try to access index.jsp I get:
    weblogic.servlet.jsp.CompilationException: Failed to compile JSP /index.jsp
    index.jsp:14:4: No tag library could be found with this URI. Possible causes could be that the URI is incorrect, or that there were errors during parsing of the .tld file.
    <%@taglib prefix="tags" uri="myt" %>
    Related facts:
    1. When I deploy these projects in Glassfish it works . as I expected based on the documentation with no errors.
    2. If I copy the tag files and tld with no modification directly into the web application as:
    <my web app>/WEB-INF/taglib.tld
    and <my web app>/META-INF/tags/myTag.tag
    then it does work. However, that prevents me from packaging the tag-files as a re-usable jar.
    (Facts 1 & 2 seem to imply that the files are correct and that WebLogic is not handling the jar correctly?)
    3. I've seen suggestions that there needs to be a <taglib> entry in web.xml. I have tried this and...
    - the text I've seen on the web generates an error. It seems to need to be within a <jsp-config> entry in web.xml.
    - even with this I still get the same error.
    Does anyone have a suggestion for how to get Weblogic to handle tag-files inside a re-usable jar?
    Do you have an example jar you can point me to just to see that it works on my system?
    Is there some special configuration needed by Weblogic to tell it to handle this construct?
    And finally, the error message is saying that one of two things is wrong:
    Either:
    A) it cannot find the referenced taglib file, or
    B) the tld file failed to compile.
    Is there any way for me to find out which of these is happening? The error messages in WLS do not seem to give any more info, so I cannot easily distinguish between these possibilities.
    Thanks for your assistance.

    After 3 days of seeing this error, immediately after posting this request the problem disappeared. Sigh.
    So for now this problem is closed. If it comes back I'll re-post.

  • ME23n , Does not shows the values correctly in print preview

    Hi,
    When viewing a PO using ME23n , it does not shows the values correctly in the print preview.
    For example;
    This is the vendor & its address.  (check attached image img1.jpg)
    ZERANDIB BUSINESS APPLIANCES
    Number-122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO-04
    When displaying the print preview, it shows only some parts of the above address
    Shows only; (check attached image img2.jpg)
    ZERANDIB BUSINESS APPLIANCES
    PO BOX 41,112,REID AVENUE
    These values are getting from a table called LFA1. I have checked that table & in that table all the values exists correctly.
    I have noted issue is with, having only a single word. (If address or name having only a single word, that is without spaces, it will not going to show in the print preview) -
    In the above example, it is not showing Number-122/A and  COLOMBO-04 (Its a single word. No spaces there)
    If its like --> Number - 122/A   &  COLOMBO - 04 ,  then it will display in the print preview correctly (where there are spaces after - mark)
    check img3.jpg
    If its having more than one word, then it will display correctly in the print preview.  As below;
    ZERANDIB BUSINESS APPLIANCES
    Number - 122/A
    PO BOX 41,112,REID AVENUE
    COLOMBO - 04
    If its 2 or more words, it shows correctly.
    If its 1 word, then its not showing!
    Why it is happening like that? Any ideas how to resolve this issue?
    regards.
    zerandib

    It turns out that this problem went away after the program crashed.  Everything seems to be working well now.

  • The XI does not send messages with correct IDOC structure

    SAP XI 3.0 sends to ECC IDOC HRMD_A07 
    The XI does not send messages with correct IDOC structure.
    In XI Design, Software Component RHEVOLU, I’ve imported the Objects
    HRMD_A.HRMD_A07 from SAP ECC; In Tools -> Export Reduced XSD, I saved
    HRMD_A.HRMD_A07.xsd in Namespace http://suezambiental.com.br/HR . At
    Message Mapping -> mmAdmissao, in Imported Message -> Import XML or
    XSD, I imported the reduced Idoc file generated above, mapping source
    fields to target fields.
    The IDOC sent from XI to ECC has this structure (template: 22122)
    E1PLOGI
    E1PORIG
    E1PITYP
    E1P0000
    E1P0001
    E1P0002
    Status 53 -HR: ALE inbound processing for HR master data
    But does not update HR Master data.
    The structure expected in ECC side (template: 20376) is:
    E1PLOGI
    E1PORIG
    E1PITYP
    E1P0000
    E1PITYP
    E1P0001
    E1PITYP
    E1P0002
    Status 53 -HR: ALE inbound processing for HR master data
    By using WE19 transaction, this structure was changed manually; so, the
    HR Master data was updated.
    Witch kind of customizing or correction could be made in XI, to send
    the correct structure to ECC?
    Best Regards
    Claudio

    Hi Claudio,
    In your case, there are perhaps two causes:
    1. perhaps when you have import the idoc, for a strange reason, a bad metadata was created by XI. You can clean this one in tcode <b>IDX2</b> (Idoc metadata cache).
    2. but it's also probably an error in your Message Mapping. Have you correctly manage segment E1PITYP?
    Regards
    Mickael

  • HT1849 when I download album works from itunes it does not associate with the correct artist

    when I download album works from itunes it does not associate with the correct artist

    Where are you looking to download them from ? You might be able to redownload them via the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage on your Mac's iTunes. If that album shows there but doesn't have the cloud symbol against it for redownloading then that implies that it's still in your iTunes library

  • I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    I am having trouble printing I have a connection to my printer wirelessly but does not print out the correct page I want.When I do print I get a bunch of pages more than is needed and also get a code and symbols please help I am jammed at work

    This can be the result of selecting the wrong driver. An older, unsupported laser printer will sometimes work with the generic Postscript driver.

  • Firefox request does not recognize a cookie that is present

    Our application has been working for several years, but recently we got a lot of complaints from users that can no longer log in. Our app is set up to link a user to a workstation using a cookie (s)he receives on the first connection. Apparently, this cookie is nicely transferred to the workstation, and the user is requested to login again. At that point the request does not contain the cookie and the login is refused. Yet when looking in the cookie info, the cookie is present on the workstation.
    Has anyone any suggestions as to why this goes wrong?

    This forum focuses on end-user support. You can find more web development help on the [http://forums.mozillazine.org/viewforum.php?f=25 mozillaZine Web Development board]. Separate forum, separate registration. Please note the tips in the Sticky Post at the top of the forum before posting.

  • I bought and legally own PS CS3. Installed on a desktop and the machine died completely. Downloaded a trial of CS3 from Adobe site. Went to activate and said too many activations. Activate over the phone. EXCEPT Adobe does not handle activation issues ove

    I bought and legally own PS CS3. Installed on a desktop and the machine died completely. Downloaded a trial of CS3 from Adobe site. Went to activate and said too many activations. Activate over the phone. EXCEPT Adobe does not handle activation issues over the phone. Adobe doesn't care about their older products - they don't care that I spent hundreds of dollars for CS3. This is truly disgusting corporate behavior. Is there anything I can do? We aren't all rich photographers. I paid a great deal of money for this product. Is it now useless?Thank you,
    James Scott

    HI James please contact the Adobe Chat Team for activation issue
    kindly do the mentioned steps as follow in order to get hold of chat rep of adobe
    Go to www.adobe.com/getsupport
    select the product as adobe creative suite - then select the issue as adobe id and sign in - and then click on still need help contact us then you will be able to find chat option and they will help you with the chat issue

  • Save of edited file does not change file size correctly

    I have QT pro 7.6 and have all the latest DirectX and drivers for my PC. I have a problem with file size reporting correctly for edited files.
    For example, I have three files: A.MOV (10mb), B.MOV (15mb), and C.MOV (25mb). If I load A and then copy B and C to the end of it, I can do a File Save As to create D.MOV as a self contained movie which shows estimated size as 50mb. And the saved file IS 50mb.
    However, If (after appending B and C to the end of A) I just do a "Save" command, A.MOV file size is not changed and still shows 10mb. The whole movie A-B-C plays correctly, but the file size is incorrect. Where is the rest of the data? I know the new A.MOV is self contained because I can delete B and C and it still plays all three segments. I'm concerned that if the file size is reported incorrectly there is the chance that the data will get lost in a future copy or move operation. Does anyone else experience this bug or is it just something in my PC?

    I stopped following this issue a few years ago, but as I recall, this is a known bug in the way PSE handles the writing of the tags to the photo files.
    I stopped following this issue because I switched to Lightroom which does not have this issue. Yes, you could do this with Exiftool and re-save the metadata from PSE, seems kind of cumbersome.
    Also, please note that if you Export the file from the PSE Organizer, as far as I know the proper tags should appear, so if you want the proper tags in your files, you could use this feature.

  • Aperture Vault Does Not Read Drive Space Correctly

    Aperture 3 Vault does not read the disk space correctly on my newly formatted LaCie 500GB drive, and produces an error message that says there is not enough space to update the vault.
    Finder and Disk Utility both indicate that the drive is completely empty. Any help in resolving this problem will be appreciated.

    Just some thoughts
    1. Check ownership on the drive, everyone can read and write. (& it is MacOS formatted)
    2. Check the permissions in your library, it is possible that there is a file with a permissions conflict (only attributable to the fact that computers are programmed by human)
    http://support.apple.com/kb/HT3805
    Tony

  • [svn:fx-trunk] 10230: Fix for ASDoc not handling img tag correctly

    Revision: 10230
    Author:   [email protected]
    Date:     2009-09-14 08:54:44 -0700 (Mon, 14 Sep 2009)
    Log Message:
    Fix for ASDoc not handling tag correctly
    QE notes: None.
    Doc notes: None
    Bugs: SDK-22902
    Tests run: checkintests
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-22902
    Modified Paths:
        flex/sdk/trunk/asdoc/templates/asdoc-util.xslt

    Welcome back everyone.
    Hope you all had good holidays.
    Cheers
    glenn
    tinylion development & design

  • Windows 7 Home premium 64bit,  does not appear to install correctly

    Hi,
    I thought this had installed correctly until trying to install Elders Scroll Online
    Attempted multiple times to uninstall/re install using administrator and used the Microsoft Fixit/Clean Up utility.
    The install does not give me any error messages but get the following logs
    10:04 PM 24/05/201410:04 PM 24/05/2014[2014-05-24:22:04:49] Relaunching with elevation
    [2014-05-24:22:04:49] Launching subprocess with commandline c:\users\admini~1\appdata\local\temp\aird8d1.tmp\adobe air installer.exe -ei
    [2014-05-24:22:04:49] Runtime Installer begin with version 13.0.0.111 on Windows 7 x86
    [2014-05-24:22:04:49] Commandline is: -stdio \\.\pipe\AIR_3736_0 -ei
    [2014-05-24:22:04:49] No installed runtime detected
    [2014-05-24:22:04:49] Starting silent runtime install. Installing runtime version 13.0.0.111
    [2014-05-24:22:04:49] Installing msi at c:\users\admini~1\appdata\local\temp\aird8d1.tmp\setup.msi with guid {0A3925EA-5B0E-401B-A189-7419149747B2}
    [2014-05-24:22:04:50] Runtime Installer end with exit code 0
    [2014-05-24:22:04:50] Elevated install completed
    [2014-05-24:22:04:51] Launching subprocess with commandline c:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\Resources\Adobe AIR Updater -installupdatecheck
    [2014-05-24:22:04:51] Runtime Installer end with exit code 0
    [2014-05-24:22:04:52] Runtime Installer begin with version 13.0.0.111 on Windows 7 x86
    [2014-05-24:22:04:52] Commandline is: -installupdatecheck
    [2014-05-24:22:04:52] Installed runtime (13.0.0.111) located at c:\Program Files (x86)\Common Files\Adobe AIR
    [2014-05-24:22:04:52] Performing pingback request
    [2014-05-24:22:04:53] Pingback request completed with HTTP status 200
    [2014-05-24:22:04:53] Starting runtime background update check
    [2014-05-24:22:04:53] Begin Background update download from http://airdownload.adobe.com/air/3/background/windows/x86/patch/13.0.0.111/update
    [2014-05-24:22:04:53] Unpackaging http://airdownload.adobe.com/air/3/background/windows/x86/patch/13.0.0.111/update to C:\Users\Administrator\AppData\Roaming\Adobe\AIR\Updater\Background
    [2014-05-24:22:04:54] Runtime update not available
    [2014-05-24:22:04:54] Unpackaging cancelled
    [2014-05-24:22:04:54] Runtime Installer end with exit code 0

    The argument would be who wants to install Oracle database on Windows 7. I think most probably by the developers who wants to "Try" something prior deal with a production database, right?
    For a developer, installing database using the hack is more than NOT having a local database running from the local system. I installed all the products mentioned with windows7bugs post and used the following tools to successfully connect and retrive data from the database instances.
    Toad 9.7.x.x
    SQL Developer
    SQL/Plus
    Developer 6i (Another hack, please check this link http://windows7bugs.wordpress.com/2010/03/01/installing-oracle-developer-forms-reports-6i-on-windows-7-64bit/).
    I think the discussion about whether all the features of client/server are still available with such a hacked installation is meaningless as far the information requested was strictly for Windows 7, not for a Server OS.
    regards,

Maybe you are looking for

  • MAKING UNLIMITED INDICATOR AS GREY MODE IN SERVICE TAB OF SERVICE P.O

    Dear cons In service purchase order we want to make unlimited delivery indicator in a grey mode in service tab. I tried in screen layout of purchase order. In purchase order there are two field of unlimited indicator. One is available in delivery tab

  • Daily orders report (show day wise created, shipped, open orders)

    I have to create crystal report for the following Daily  orders - created, shipped, open (not processed till date) for a previous week (last seven days)                                       Created                   Shipped                  Open Tue

  • Lion install questions

    Hi, I Have A Couple of questions about installing lion, first can you run snow leopard apps? and second, i have root enabled in snow leopard, onced installed will i have to reenable it? thanks!

  • Issue synchronizing with Integration Broker

    I need some guidance in troubleshooting XenApp integration with VMware Workspace 2.1. It seems like I have successfully installed and configured the Integration broker. I followed the steps from the installation guide. Verify PowerShell remoting. Thi

  • Any tips on getting iPad music to sync after 10.5 installed??

    Installed 10.5 and then every time iTunes goes to sync, it cancels the sync itself and tells me so!! Uninstalled all the iTunes software and re-installed. Removed all my apps. Still won't complete a sync routine for my music and cancels around stage