CFC stripping out quotes in JSON

Any anyone tell me why the quotes in a JSON string are being stripped out when it's passed to a CFC?
The post from a jqGrid is being sent to my CFC as:
filters{"groupOp":"AND","rules":[{"field":"state","op":"eq","data":"CT"}]}
When I dump out arguments.filters it shows:
{groupOp:AND,rules:[{field:state,op:eq,data:CT}]}
Why is my CFC doing that?

Never mind.  I had some SQL Injection code that were stripping out the charcters.  I thought about that after I took a break.

Similar Messages

  • Backslashes getting stripped out of my regex

    I am trying to automate some find/replace routines in dreamweaver using javascript.
    dreamweaver.setUpFindReplace({ 
            searchString: '<table width="\d+', 
            replaceString: '<table width="100%"', 
            searchWhat: "document", 
            searchSource: true, 
            useRegularExpressions: true 
        dreamweaver.replaceAll();
    This query gets passed as: <table width="d+
    Problem: when the query string is passed to the setUpFindReplace object, the backslashes get stripped out. Backslashes are key to regular expressions. How do I get them passed from JavaScript to Dreamweaver?
    I am using CS6
    Ben

    I am still looking for a smart person to answer, but in case anyone else is having same problem I found a work-around.
    I think Java uses the backslash as an escape character and so it is not passing it to Dreamweaver. The only thing I found that works is to set a variable with the regex text, and escaping all the backslashes, then passing the variable to Dreamweaver.
    var myFind = '<table width="\\d+"'
    dreamweaver.setUpFindReplace({
            searchString: myFind
            replaceString: '<table width="100%"',
            searchWhat: "document",
            searchSource: true,
            useRegularExpressions: true
        dreamweaver.replaceAll();
    Note: double backslash \\d+ and single quotes ' " " ' used because query string contains double quotes.
    I tried escaping the double quotes in the search string \" but this did not work for the same reason.
    Ben (not a Java developer)

  • I had my iphone 4s synced to itunes on my work laptop. The IT group at work stripped out that installation and will not allow me to reinstall. My iphone insists it has to sync to my work laptop itunes. How do I change iphone settings to look at an itunes

    I had my iphone 4s synced to itunes on my work laptop. The IT group at work stripped out that installation and will not allow me to reinstall. My iphone insists it has to sync to my work laptop itunes. How do I change iphone settings to look at an itunes installation on my personal laptop?

    dcotejr wrote:
    I had my iphone 4s synced to itunes on my work laptop. ... How do I change iphone settings to look at an itunes installation on my personal laptop?
    You cannot.
    By Design the iPhone can Only Sync to One iTunes Library at a time.

  • How to strip out leading numbers in auto-generated bookmarks?

    For years now my team has used an Acrobat plug-in called Compose, which lets us strip out the leading numbers from bookmarks in PDFs generated from FrameMaker 7.2. (The tool works after the fact, so that all bookmark creation occurs after the PDF is created.)
    For example, these document headings:
    1.1 Intro to Happy Fun Ball
    1.1.1. System Requirements
    1.1.2. Cautionary Information (WARNING)
    are translated to the bookmarks:
    Intro to Happy Fun Ball
    System Requirements
    Cautionary Information (WARNING)
    After evaluating the new Adobe Tech Comm Suite, it seems that Acrobat 9 Extended Pro isn't compatible with the Compose plug-in (or at least, the version we've been using for years).
    Does anyone know if there's a method -- built into either FrameMaker 8 or Acrobat 9 Pro Extended, or in an SDK -- that allows you to auto-generate bookmarks but strip out leading numbers? It seems this is a no-brainer of a feature, yet I can't find it listed anywhere in the Acrobat documentation.
    Other names for this feature might be "wild card" or "text masking," not to mention "strip leading numbers."
    Thanks very much for your help.
    Regards,
    Buster

    The following code can be run from the JavaScript console, but since you're new to this, it might be easier to create a button, paste the code shown below into the Mouse Up event of the button, select the Hand tool and click the button to execute the code, and then delete the button if everything is OK.
    If you need to do this a lot, you should consider setting up a custom menu item or toolbar button that executes this code:
    function removeBookmarkPrefix(bookmark) {
        // Resursive function to remove bookmark prefix
        // Rename bookmark without prefix
        bookmark.name = bookmark.name.replace(/^\S+\s+/, "");
        if (bookmark.children != null) {
            for (var i = 0; i < bookmark.children.length; i++) {
                removeBookmarkPrefix(bookmark.children[i]);
    // Remove all bookmark prefixes, recursively
    removeBookmarkPrefix(bookmarkRoot);
    The code uses what's called a regular expression, which in this case is fairly simple: /^\S+\s+/
    This regular expression means to search the bookmark name for the beginning of the string (^), followed by one or more non-whitespace characters (\S+), followed by one or more white space characters (\s+), and replace all that with an empty string (""), thus removing it. This should work with the bookmark name prefixes you describe.
    The function is called recursively, which is an efficient way to handle the hierarchical structure that the bookmark tree can have.
    If you get stuck, post again.
    George

  • How does one strip out all Live Cycle data from a PDF and rebuild the form fields in Acrobat?

    Someone in a different department built a bunch of forms in Live Cycle. We now need to make minor edits to these forms but we all have Macs and can't use Live Cycle. Currently our only option to change a date and a name on each form  is to buy a new Windows workstation, buy a copy of Live Cycle and train someone for it.
    I understand the Live Cycle technology and Acrobat technology for forms are somehow different but there must be a way to just strip out all the Live Cycle form programming so that I just have the bare PDF with the text and layout.  Then make the text edits and rebuild the form fields in Acrobat.

    It depends on your PDF. Is the PDF a static XFA or a dynamic XFA?
    You can check to see if the PDF is static/dynamic by clicking File=>Save As, and it should say static or dynamic PDF as file type.
    iText will work with Static XFA forms created in LiveCycle. Dynamic XFA forms are not supported.
    You can also submit XML data to a server side script and parse the XML data using C# system.xml.xmlreader.
    Another tool that may speed the development of the project is:
    http://www.fdftoolkit.net/
    Note: FDFToolkit.net utilizes iText Technologies.

  • I just upgraded to the latest software for my pages.  When I opened an old document it stripped out all the images I had in my tables.  How do I get them back

    I just upgraded to the latest software for my pages.  When I opened an old document it stripped out all the images I had in my tables.  How do I get them back

    Don't save. Close the documents.
    Pages '09 should still be in your Applications/iWork folder.
    Pages 5 will damage/alter older files, something Apple didn't tell its users.
    Pages 5 is a severely stripped down version with over 90+ features removed.
    We recommend trashing/archiving Pages 5 after Exporting any files you may have saved back to Pages '09.
    Also rate/review Pages 5 in the App store.
    Peter

  • Third Party Plugins Stripped Out After Editing/Saving

    Hello All,
    I'm really hoping someone can help.
    Ok here's the tech stuff:
    Workflow-
    Mac - OS 10.4.9, InDesign CS3 5.0.2
    Windows - XP InCopy CS3 5.0.2
    Plugins used in InDesign (Mac) AutoPrice (Meadows Pub.) & Sonar Indexing (Virginia Systems)
    These 2 plugins are vital to our Catalogs.
    What I'm seeing,...
    I export stories (copy blocks) in InDesign for editing in InCopy on the Windows Machine.
    I open up the same document in InCopy (windows) to test, edit some copy, save, check in, close.
    Now, open this same document again in InDesign (Mac), copy updates needed, update the copy, but wait! all of the Third Party Markers are gone!
    Everything that was tagged, or marked for the Index, and all the Pricing Tags are gone.
    I've found out when the InCopy document is saved, this is when this happens. It strips out all Third party invisible text, placeholders, etc...
    WHAT???
    I can't believe we're the only one's in the world having this issue. And its hard to believe Adobe would even do this.
    I've talked to both Plugin Companies about this, One thinks this is a Bug Issue on Adobe's end.
    The other, is trying to work out something to stop this from happening.
    Ok,... So we're ready to move to a InCopy workflow, but now this. I need HELP!
    We can't implement InCopy when it destroys our vital information,....
    Thanks for any help on this,
    Christopher

    Hello All,
    I'm really hoping someone can help.
    Ok here's the tech stuff:
    Workflow-
    Mac - OS 10.4.9, InDesign CS3 5.0.2
    Windows - XP InCopy CS3 5.0.2
    Plugins used in InDesign (Mac) AutoPrice (Meadows Pub.) & Sonar Indexing (Virginia Systems)
    These 2 plugins are vital to our Catalogs.
    What I'm seeing,...
    I export stories (copy blocks) in InDesign for editing in InCopy on the Windows Machine.
    I open up the same document in InCopy (windows) to test, edit some copy, save, check in, close.
    Now, open this same document again in InDesign (Mac), copy updates needed, update the copy, but wait! all of the Third Party Markers are gone!
    Everything that was tagged, or marked for the Index, and all the Pricing Tags are gone.
    I've found out when the InCopy document is saved, this is when this happens. It strips out all Third party invisible text, placeholders, etc...
    WHAT???
    I can't believe we're the only one's in the world having this issue. And its hard to believe Adobe would even do this.
    I've talked to both Plugin Companies about this, One thinks this is a Bug Issue on Adobe's end.
    The other, is trying to work out something to stop this from happening.
    Ok,... So we're ready to move to a InCopy workflow, but now this. I need HELP!
    We can't implement InCopy when it destroys our vital information,....
    Thanks for any help on this,
    Christopher

  • In Photoshop CS6, Save for Web strips out my filename after a period "." character

    I have a file named label-1.5oz.psd.  In Photoshop CS6 when I use "Save for Web" to save it as a JPG, it only wants to save a part of the filename: label-1.jpg
    I strips out everything after the period "." character.  I know it's incorrectly thinking that's a file extension.
    Any ideas how I can fix this?  Any settings I should tweak?  I'd really love for it to save the full filename without requiring me to retype the last part every time.
    Thanks in advance for any help!

    Oh if only it were that easy...  Unfortunately, they have to be cropped and resized, converting over from a print catalog where much of that work was originally done in InDesign, and now have to convert each individual image to make the web site look like the catalog...  but thanks for the suggestion, have already tried to automate what I could..  But much of this is going to be hands on...  getting my familiar quick keys to function correctly would help greatly.

  • XI 2.0 Inbound message to XI has XML Tags Stripped out

    Hi
    We are developing an XI 2.0 application.  A message is sent from a 3rd party company over a VPN and routed to our XI box.
    On receiving the message, XI tries to carry out the message mapping. However it fails because it does not like the content of the message. When I check the message content (View -> Source) we see that all the XML Tags have been stripped out somehow. Only the actual data field contents remain, in a big string. So obviously the mapping fails.
    If I run the same scenario, but send the message from a JMS Test Client on my PC and route it to the XI box everything is fine and the message retains the XML Tags.
    The messages route through the SAP Adapter Engine in XI.
    The 3rd party company say the message does contain the tags when it leaves their systems.
    Has anybody come across this scenario? Would any settings in the SAP Adapter Engine force the XI tags to be stripped? Any suggestions would be very welcome!
    Many Thanks
    Jaime

    Hi Jaime,
    The visual J2EE administrator is the standard administrator tool of any SAP WEBAS system so it is not a specifc XI tool.
    Typically your SAP WEB AS basis administrators use the tool to configure the J2EE part of the SAP WEB AS.
    SAP OSS note 76921 has all the details on tracing the XI adapter framework for version 3.0 - might be usefull for version 2.0 as well ...
    Regards,
    Steven
    BTW - are you that Diagonal bloke with whome I have been on a project for a client in Rozenburg, Netherlands ? I was that SAP BC B2B bloke

  • How do you strip out certain groups of characters from a String variable

    for exapmle...
    String date = "11-Feb-2005";
    String day;
    String month;
    String year;
    how would you strip out '11' from date to assign it to 'day', and 'Feb' to assign it to 'month' and '2005' to assign it to 'year'.
    in my program the variable 'date' will always be in the format of:
    ist two digits are numbers followed by '-'
    then three digits (letters) followed by '-'
    then four digits that are numbers.
    i think it has something got to do with charAt or something, im not sure how to do it.
    any ideas?

    yea i tried the first method and it works fine.
    thanks very much.
    also... i tried the other one and it outputs... 11 1 2005
    which means it works but you see i wanted to put the date in the format of...
    Calendar date = new GregorianCalendar(2005, Calendar.FEBRUARY, 11); so i can compare it to another Calender object to see which one is earlier.
    that is why i am doing it like this...
    Calendar date = new GregorianCalendar(+ year + ", Calendar." + month + ", " + day);
    for example...
    Calendar xmas = new GregorianCalendar(1998, Calendar.DECEMBER, 25);
    Calendar newyears = new GregorianCalendar(1999, Calendar.JANUARY, 1);
    // Determine which is earlier
    boolean b = xmas.after(newyears); // false
    b = xmas.before(newyears); // true
    anyways i am just curious.

  • Content-Length Header being stripped out of Gatewayed pages

    I am working to integrate the GPL'ed Moodle e-learning web application with Plumtree.  However, I'm hitting a snag.  For certain POST events, Moodle expects to receive a content-length header.
    When I use the application outside the portal, it works fine, and the Content-Length header is sent.  However, when I have the application gatewayed through the portal, the Content-Length header seems to get stripped out of the HTTP request and I get HTTP error 411 (Content Length Required).
    Is there a way I can convince the portal to not strip out the Content Length HTTP header?

    I'm working with .NET portal.
    For the particular file that caused the error as reported in the tcptrace log, I opened IIS manager, found the virtual directory, right clicked to open the properties dialog and checked directory security.
    Select edit anonymous access to check the account used for anonymous access, supply the user account needed and allow IIS to manage password. If in doubt check the settings on pages containing http post that are functioning properly.
    Check Integrated Widows Authentication
    I found this virutal directory had no user in the anonymous account, not sure how this happened. This resulted in pages that contained post/postbacks giving the "length required" error when I hit a button to perform the post/postback. Pages that did not contain Posts/Postback work correctly.

  • PSE 7 Strips Out Slide Show Music

    I have created a PSE 7 slide show of about 150 pictures.  I have included a music track as background while the slides play.  I full screen preview the slide show and all is good -- I can also save and go out of PSE 7 then go back in and open the slide show and re-preview and all is still good.  I then select to output the slide show to DVD and let PSE and Premier run their standard course to get to a burned DVD.  All is good, no errors, and the process completes ending in a burned DVD.
    Problem is that near the beginning of the process, when PSE 7 creates the .wmv file, it strips out the music track for the slide show.  I know this is where the problem occurs because I have gone in and played the .wmv file in Windows Media Player and the slides are fine but no music.
    I have done the exact same thing with only 6 slides and music is in fact included.  The burned DVD of that small slide show plays fine and with music.
    What is going on???  Does making a slide show with 150 pictures push the limits of what PSE 7 can handle, even though I get no error messages???
    Thanks!

    PSE slide show has some issues with high resolution images. Please reduce the size of the image 1000 x 700 and create/burn DVD.

  • Photoshop Bug? GPS exif metadata stripped out

    We recently discovered that ANY changes made in Photoshop CS4 stripped out our GPS exif metadata.  We also tried it in CS3 - same thing!  And by changes, this includes anything - changing IPTC, adjusting levels, etc.  It even happened when just opening, re- saving and closing the file in Photoshop.
    FYI:  We tested it with images exported from both Adobe Camera RAW (Canon files) and Phocus(Hasselblad), and the problem occurred with both.  We've also tried it with files from different cameras, which used different GPS brands altogether, therefore we can rule out:  the GPS units, camera (Canon 1Ds Mark II, Hasselblad H3D-39), and software used to convert RAWS (Phocus, Adobe Camera RAW, Lightroom).  We also tried different computers to make sure no preferences were corrupt on an individual machine, to rule that out.
    To make things even more complicated, we just discovered that even though we can no longer see the GPS info in Photoshop CS4, Adobe Bridge DOES see the GPS info!  But - none of our other softwares which normally recognize GPS can see the info (iView, Cumulus).
    Very, very frustrating.......HELP!
    Mac OS 10.5.6, PowerMac 2 x 2.66 GHz Dual-Core Intel Xenon, Photoshop CS4, Files exported to Prophoto RGB 16-bit TIFF) using both Lightroom and Phocus

    Addendum: Does anyone know how to add EXIF back into a file?  
    I assume this would be difficult, as EXIF is hard to remove, much less put back.
    Many of these files have already been worked on extensively, and re-importing and re-working is not a good option.
    We have already tried the following (did NOT work):
    1)  Exporting the XMP from the file BEFORE any changes are made (with GPS info still intact), and importing XMP to finished file (tried all 3 option settings)
    2)  Copy and pasting the finished file on top of the original (GPS intact file) and flattening, so that the finished file would take on the properties of the old, un-retouched file.  What's odd about this is that after flattening the file, saving, and looking at File Info - it appeared it had WORKED.  But when you close the file, and re-open, the GPS is gone again.

  • Double extension stripped out in Internet Explorer?

    Hi all,
    I was just browsing through some Oracle 9i jsp related demo pages, when I came across this situation:
    a sample code page with a double extension, exampletag.tld.txt, that should just display the source code, results instead in a internet explorer parsing error :
    "The XML page cannot be displayed, bla bla bla".
    Another page with extension .jsp.txt gets executed as if ".txt" wasn't there at all.
    It looks like Internet Explorer is stripping out the rightmost extension and is trying to interpret the page.
    I guess this could potentially lead to some security risk, if you can run some code out of a plain text document!
    I checked this out with IE 5.5SP2 and IE6.0 SP1 and they behave the same.
    On the contrary Mozilla 1.5 correctly outputs the page as plain text.
    Also, I've checked the mime type configuration in Apache and it's apparently serving text/plain as expected.
    As I've recently installed MSXML3 SP4 on both machines, I am wondering if this fact is correlated in some way.
    Bye,
    Flavio

    Must be my promote-Mozilla-Firebird-week :-)
    When installing the Live HTTP Headers extension in Mozilla Firebird you can easily see what the real content type is that the server sends to the browser. Regardless of any extension, the server can tell the browser to interpret any URL just the way the server likes -- like even a URL with a JPG extension could be handled as HTML by the browser, just if the server tells it to. And a URL that ends in .cflav could easily yield an image in the morning and an XML document in the evening. So: there actually is no such thing as extension when it comes to URLs.
    And to make things more complicated: the browser starts a request by telling the server what it can handle, and as such the server might decide to serve different content (or content types) to different browsers.
    I've checked the mime type configuration in Apache ...well, Apache is not serving the JSP files, is it? Might very well be that Apache passes handling of certain virtual folders to the JSP engine, which then can decide to parse .txt files as well.
    So: check out Firebird to get a jump start in your investigation!
    Arjan.

  • Stripping out Digits in ID Number

    Our system requires that you add a '19' or '20' in front of every ID number.  I want to strip out the 19 or 20, but not all ID numbers are the same length and some are missing the 19 or 20.  ID numbers should be 4-5 digits in length.
    Ex
    2010011
    199237
    07011
    2009001
    I try using the Right Function, but it doesn't work well with numbers > 5 digits long .  It either adds a 0 or 9.
    Right (,5)
    Results
    10011
    99237 - (9237 is correct ID No.)
    07011
    09001
    Any suggestions?

    I modified the first line to fix the syntax and it works!!
    If left({your stringnumber}, 2 ) in
    ["19", "20"]
    Amazing.  Thanks for the help.
    Edited by: egreene on Jun 6, 2011 10:51 AM

Maybe you are looking for

  • I have a question about my iPhone data usage

    Is there a way to check my data usage on my iPhone in the setting app?

  • How to stop your iPhone from recording you

    There are 3 ways: - Apple does it for everyone (likely very soon) - Remove your battery (Hmmm, but how? It's built-in. Exactly, hmmm is the right word. The only way to properly disarm any device is to spray liquid nitrogen to freeze the battery rende

  • SOS ... Need help with Data Queue PtByPt

    I am trying to perform psuedo real time processing of signal and to reduce buffering, I am using Data Queue ptBypt VI that stores a select number of samples and analyse them. My requirement is very straight forward -the waveform I am trying to analyz

  • X-Fi Fatal1ty Pro cannot see 5.1 Dolby Digital input via Optical link (mods, please he

    X-Fi Fatalty Pro cannot see 5. Dolby Digital input via Optical link. I am pumping my Xbox360 through the Digital I/O dongle and every thing works OK using Dolby Stereo, outputing to my 5. analog speakers. However, it does NOT work when choosing Dolby

  • Madoch

    Bon jour, Suite à un message d'erreur, J'ai voulu réparer Photoshop Elements 9. Mais le Logiciel a supprimé l'installation. Une fois rechargé, j'ai encore un message m'indiquant un fichier manquant (missing). Où et comment identifier Photoshop Elemen