How can I view the variables with # in them?

Hello friends of the CF.

I allow my site users to create unique user names and upload photos.  They are then able to find these items for the exact name, they came.

Today a user registered with the name attic #4.

How can I avoid getting a CF error when on his profile page, I exit < cfoutput > #username # < / cfoutput > where username = attic #4?

Thank you!

You have to escape them by adding and # but since it is in the middle of a variable may have to write some kind of filter. For future claims, I'd create a script that does not allow special characters until the account is created.

Tags: ColdFusion

Similar Questions

  • How can I view the text with format and &lt; object &gt;... &lt; embed &gt; video?

    Hi, OTN.
    I can't find a suitable component to show a ViewObject CLOB with video (streaming flash videoplayer) HTML format and < object > < embed > tags.
    With components output format or Rich Text Editor, I don't see the embedded objects or their HTML tags. Only simple HTML format.

    How to display an embedded object (video) on the JSF page with #{binding} on the ViewObject data control?

    Thank you.

    Try and af:outputText with the exhaust attribute set to false.

  • How can I view the Photoshop files on my Mac to my iPad and iPhone?

    How can I view the Photoshop files on my Mac to my iPad and iPhone? I am new to Adobe products and understand with the latest version creative Cloud is no longer does.

    Hi leonoraw51296428,

    It is not possible to synchronize files from the computer to your phone.

    Then I suggest you to download and install the Application Photoshop (Photoshop Mix, or Photoshop Fix) on your phone.

    Kind regards

    Tanuj

  • How can I view the timestamps of text on an iPhone 5 c

    On my 5 c 9.3.1 running iPhone, outgoing text messages display a timestamp. Incoming messages only. How can I view the time stamp on incoming messages?

    It is displayed at the top of the first post of the series

  • Game to "Save history" for 30 days, can only view last 7 days - how can I view the longer history of 7 days?

    "Save history" set to 30 days but can only view last 7 days of history - how can I view the longer history of 7 days?

    According to your troubleshooting info, you have 2 set preferences to update the:
    Browser.history_expire_days
    7

    Browser.history_expire_days. Mirror
    7

    In the address bar, type Subject: config and press ENTER. The subject: config "This might void your warranty!" warning page may appear. Click on that I'll be careful, I promise! to continue on the subject: config page.
    Search for the preference browser.history_expire_days. Right-click on it and select reset. Do the same for other preferences.

  • How can I view the contents of the .iso files?

    How can I view the contents of the .iso files?

    How can I view the contents of the .iso files?

    http://www.ehow.com/how_7307521_iso-file.html

  • [Solved] How can I view the properties of a network connection?

    = Solution:

    I activated the "Netman" service (friendly name: "Network connections").

    =====

    Don't forget that? Yes. I've seen one of them because I've gone from WinXP to Win7.

    Note: The image above was extracted from the Internet. It is not my computer.

    See the checkbox "Show icon in notification area when connected"? That's how I got Windows XP configured so that I would see a network for each network adapter icon in the tray all the time. Now I never see a network icon. I want to be able to bring up the properties so I can solve network problems.

    My new Manager computer devices">"Network adapters"indicates:

    Intel Centrino WiMAX 6150
    Intel Centrino Wireless-N 6150
    Microsoft Virtual WiFi Miniport adapt
    Microsoft Virtual WiFi Miniport adapt #2
    Realtek PCIe GBE Family Controller

    How can I view the properties of a network connection? And how I can put the properties of connection icons in the notification for all connections of 5 area?

    Thank you.

    It's very strange.  I used this command on dozens of computers (at least) and never have it back empty.  I don't know what to do. Here's a typical result.

  • How can I view the trial version of Mappoint 2013?

    Original title: trial version of mappoint 2013

    I downloaded the trial version of Mappoint 2013 2013 today. When I try to use it, there is a message that says that my trial period is in place. How can I view the trial version?

    Try asking in the forums of Mappoint:

    http://social.Microsoft.com/forums/en-us/home?Forum=streetsandtrips

  • How can I update the rubrics with WebServices?

    How can I update the rubrics with WebServices?

    /Anyone/ has some success with this?

    It becomes important to our business objectives in order to solve the problems within the control elements.

    I can't enter the number of line by line in order to uniquely identify it. How can I get that number, so I can send it with xml "update"?

    A little nudge in the right direction would be much appreciated.

    Aaron.

    You must use a field on the form as the one on the line items, NOT the line number that appears in the journal of the line item. If I understand correctly, the LineItemIdentifier can be any field on the form, even the short description. It is best if you know you will use web services to update the line items, you add a (potentially hidden) field to the form and fill that with unique values when positions are created. If you are working with existing elements of line, then you must choose a field that will be usually unique within a single record and hope, you don't have a lot of duplicates.

  • How can I configure the element with the script names?

    Could Hello someone give me a hand?

    I created symbols on the stage of this script below.

    ------------------------------------------------------

    for (k = 0; k < 5; k ++) {}

    sym.createChildSymbol ("mySymB", "Stage");

    }

    ------------------------------------------------------

    How can I configure the element with the script names?

    Because, when I try to control a symbol by using the getSymbol("---") command.

    I need to know the name of the item given to each symbol.

    Concerning

    Yes, you're right.

    Using 'Code-Example' If you write sym.getSymbol ("mySymB") that edge returns the undefined value.

    With "Drag-and-drop-Example", you can use sym.getChildSymbols ().

  • How can I make the popup with empty fields and create new record?

    I would use a popup create new record.
    I created an af:popup drag and drop a data control VO in jsff. Then, I created a button and place an af:showPopupBehavior. I was able to pop-up window by clicking on the button.
    However, the window filled with information from the record 1. and when I select a record in the table and click on the popup, the popup is filled with this record.
    How can I make the popup with empty fields and create a new record by recording the popup?
    Thank you

    Hello

    You must call the CreateInsert for the underlying ViewObject operation when opening the popup because it does not allow to clear the input field, you must have a new record created

    Frank

  • How we would use the apps with connecting them to creative cloud and it is not not a trial.

    How we would use the apps with connecting them to creative cloud and it is not not a trial.

    Log, activation, or connection errors. CS5.5 and later, Acrobat DC

    Mylenium

  • How can I use the AppleCare with replacements USA helmet in Israel?

    How can I use an AppleCare with replacements USA headphones for my iphone in Israel 6plus? Am I covered overseas?

    Technically, no. The warranty is valid only in the country where the phone was originally sold. However, that restriction is based on the differences between the models of phones sold in different countries and the availability of substitutes service. You may very well be able to get the headphones replaced here since there is no difference between those who were included in phones AND those that are included with the phones sold in your country. Make an appointment at the genius bar or take it to your local CENTER and see what they can do for you.

  • Re: Satellite A50 - how can I change the boot with BIOS password priority?

    I have a Satellite A50. I need to restore to factory default to recover DVD, how do I boot from the DVD?

    The default boot priority is the HARD drive and is more bootable has been formatted. My BIOS is password protected, how can I change the boot priority? After having inserted the password, its always boot from the HARD drive.

    Thank you

    The boot priority, that you can change in the BIOS.
    Go into the BIOS with ESC, enter your password and then you can change it.
    But don t forget to save the changes.

    That s all and then you can boot from the CD.

  • I had to change my Apple ID because of accusations of fraud but my iPhone 6s 9.2 still has the old Apple ID and will not accept old or new passwords. How can I update the iPhone with the new Apple ID 9.2 6s?

    I had to change my Apple ID due to fraudulent charges but my iPhone 6s 9.2 still has the old Apple ID and will not accept old or new passwords. How can I update the iPhone 6s 9.2 with the new Apple ID and password? I tried to perform a complete reset, but which requires the Apple ID and password that doesn't work not... pretty frustrated here.

    YYou have unlink the old iphone you as find my iphone the reset all devices on this subject from your account then plug it to your iTunes then restore a new one after that reset password that under the new phone then connect

Maybe you are looking for