Disable html escaping mode - Basic

4.2.1
Hi,
Our application runs within our network and hence no security worries as such. It's also not a critical application.
In 4.2.1, there is the html escaping mode with only two options basic and extended. Even with Basic it escapes & < and >. IS there a way to disable that? We have parameter passing where some items have & in their names. and they seem to be getting skipped.
I pass parameters when user clicks on a link in a report(using standard link features) which creates the URL. But looks like the names which have & have those removed.
Thanks,
Ryan

ryansun wrote:
4.2.1
Our application runs within our network and hence no security worries as such. It's also not a critical application.
In 4.2.1, there is the html escaping mode with only two options basic and extended. Even with Basic it escapes & < and >. IS there a way to disable that?No. It's required by the HTML specification.
We have parameter passing where some items have & in their names. and they seem to be getting skipped.
I pass parameters when user clicks on a link in a report(using standard link features) which creates the URL. But looks like the names which have & have those removed.As '&' is a URL-reserved character it must be encoded in order to be passed in a URL parameter, for example using the <tt>apex_util.url_encode</tt> API.
As has been recommended before, the simple way to avoid problems in this area is not to pass string data values as URL parameters. Pass simple numeric or alphanumeric key values, and use these to retrieve additional information using computations and processes on the target page.

Similar Messages

  • ENHANCEMENT REQUEST: Option to disable HTML escaping in Popup LOVs

    It would be nice to have the ability to format Popup LOV entries with HTML. The default behaviour escapes all special HTML charaters, like <, >, &.
    The API documentation for APEX_ITEM.POPUP_FROM_LOV describes a parameter "p_escape_html" which can be set (YES|NO).
    There is nowhere in the Popup LOV templates, or in the page item LOV sections to toggle this.
    The ability to turn html escaping off would be nice.

    It would be nice to integrate the popup window
    functionality into the branching page process
    section. An option to create a branch of type 'Page
    in this Application (PopUp)' would make developing
    easierI understand what you want to do but I don't understand the logic.....
    what you want seems to defy the definition of Page Branching.
    You are NOT branching....you want a popup ! basically.
    I think BRANCHing - in the realm of HTML DB design and technical implementation - has very definitive meaning.
    And it has rules/logics to enforce that design as Vikas' example shows.
    When Branch from P1 to P4 , P1 is "out/finished" and P4 is "in". ---- but you want BOTH page still....But I see your purpose is not for functionality of the application but as you indicated "make developing easier"

  • Is xsl:value-of disable-output-escaping="yes"/ Supported in 2.0.2.6?

    I can't seem to display HTML from XML.
    In my XML file I store the HTML snippet in an XML tag:
    <PRE>
    <body.htmlcontent>
    <&#60;table width="540" border="0" cellpadding="0" cellspacing="0">
    &#60;tr>&#60;td>
    &#60;font face="Helvetica, Arial" size="2">
    &#60;!-- STILL IMAGE GOES HERE -->
    &#60;img src="graphics/imagegoeshere.jpg" width="200" height="175" align="right" vspace="0" hspace="7">
    &#60;!-- END STILL IMAGE TAG -->
    &#60;!-- CITY OR TOWN NAME GOES FIRST FOLLOWED BY TWO LETTER STATE ABBREVIATION -->
    &#60;b>City, state abbreviation&#60;/b> -
    &#60;!-- CITY OR TOWN NAME ENDS HERE -->
    &#60;!-- STORY TEXT STARTS HERE -->
    Story text goes here..
    &#60;!-- STORY TEXT ENDS HERE -->
    &#60;/font>
    &#60;/td>&#60;/tr>&#60;/table>
    </body.htmlcontent>
    </PRE>
    I use the following in my xsl:
    <xsl:value-of select="body.HTMLcontent" disable-output-escaping="yes"/>
    However, the HTML output <PRE>&#60;</PRE>is still outputted and all of the HTML tags
    are displayed in the browser. How do I display the HTML properly?
    Bob Hewett
    [email protected]

    This makes sense. Here's why.
    oraxsl internally uses the:
    void XSLProcessor.processXSL(style,source,printwriter);
    XSLSample.java uses:
    DocumentFragment XSLProcessor.processXSL(style,source);
    The former supports <xsl:output> and all
    options related to writing out output
    that might not be valid XML (including the disable output escaping)
    The latter is pure XML-to-XML tree returned,
    so no <xsl:output> or disabled escaping
    can be used since nothing's being output,
    just a DOM tree fragment of the result is
    being returned.
    null

  • Disable-output-escaping and named templates

    I am trying to combine two parts of Steve book, the "features" example that requires disable-output-escaping because the text in the db contains html, and the titledboxes xsl which is called a s a named template.
    Problem is that when I call a template passing the text from the db as a content param the html gets escaped regardless of the output escaping.
    I know why but I need to know a workaround that allows me to use templates and lets me keep html embeded in the db column.
    Rob

    This is Bug 1285505, "Disable-Output-Escaping Is Lost When Copying A Text Node" which has been fixed for the 9.0.1 release that will be posted to OTN in about the May timeframe.
    In the meantime, the workaround is to build two versions of your titled-box template, one which explicitly does disable-output-escaping when it writes the content to the output, and the other one that's like what you have now.

  • Displaying unicode or HTML escaped characters from HTTPService in Flex components.

    Here is a solution on the Flex Cookbook I developed for
    displaying data in Flex components when the data comes back from
    HTTPService as unicode of HTML escaped data:
    Displaying
    unicode or HTML escaped characters from HTTPService in Flex
    components.

    Hi again Greg,
    I have just been adapting your idea for encountering
    occasional escaped characters within a body of "normal" text, eg
    something like
    hell&ocirc; sun&scaron;ine
    Now, the handy String.fromCharCode(charCode) call works a
    dream if instead of the above I have
    hell&#244; sun&#353;ine
    Do you know if there is an equivalent call that takes the
    named entities rather than the numeric ones? Clearly I can just do
    some text substitution to get the mapping, but this means rather
    more by-hand work than I had hoped. However, this is definitely a
    step in a useful direction for me.
    Thanks,
    Richard
    PS hoping that the web page won't simply outguess me and
    replace all the above! Basically, the first line uses named
    entities and the second the equivalent numbers...

  • XSL disable-output-escaping

    Hi,
    I have the next part of an XML file:
    <?xml version="1.0" encoding="UTF-8"?>
    <idiomas>
         <element>
              <titol><![CDATA[Angl�s]]></titol>
              <url>/google.com</url>
              <alt><![CDATA[Change to Angl�s]]></alt>
              <language>en</language>
         </element>
    </idiomas>
    I want to obtain the next html code transforming the XML with an XSL to HTML code:
    <a title="Canviar a Castell�">Castellano </a>
    <a title="Change to Angl�s">Angl�s </a>
    but I obtain the next one:
    <a title="Canviar a Castell�">Castellano</a>
    <a title="Change to Angl�s">Angl�s</a>
    because I don't know HOW CAN I MAKE THE "disable-output-escaping" in elements like href, title, lang or xml:lang
    It seems that the "disable-output-escaping" only is available for xsl:value-of and xsl:text
    This is part of my XSL file:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
    <xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes"/>
    <a href="{url" title="{alt" tabindex="80" lang="{language}" xml:lang="{language}">
         <xsl:value-of select="titol" disable-output-escaping="yes"/>
    </a>
    Anyone know how can I "disable-output-escaping" in elements accessed as {url}, {alt} ...
    Thanks in advance.
    Xavi
    Message was edited by:
    ffelipei_
    Message was edited by:
    ffelipei_

    First of all thanks for answer the question.
    You are right, the forum software has changed the text I wrote.
    I don't know how can explain what I want to said, but I will try.
    In my question I wrote:
    I want to obtain the next html code transforming the XML with an XSL to HTML code:
    <a title="Canviar a Castell�">Castellano </a>
    <a title="Change to Angl�s">Angl�s </a>
    but I obtain the next one:
    <a title="Canviar a Castell�">Castellano</a>
    <a title="Change to Angl�s">Angl�s</a>
    This text is partially ok.
    The two first lines of HTML are ok. The other two are ok partially, because the title attribute has been escaped.
    I will use the next symbol "_" following the ampersand "&" to prevent escaping of forum software.
    The last lines would be:
    <a title="Canviar a Castell&_amp;agrave;">Castellano</a>
    <a title="Canviar a Angl&_amp;egrave;s">Angl&_egrave;s</a>
    In the title I obtain after xsl transformation a "double encoding of entities".
    Thanks

  • XSL "disable-output-escaping" Directive  Support post - 9i R2

    Hello there,
    I've recently discovered that the XSL directive, disable-output-escaping="yes", does not work in Oracle 9i R2 when applying a Stylesheet to an XML document via the XMLTYPE.TRANSFORM function.
    I can accept that this wasn't supported in this version of the Database (as I have no choice in the matter ;-)). My question is, is this directive supported in XMLTYPE.TRANSFORM in either 10g R1/R2, or 11g R1?
    Thanks in advance.
    James

    Be adviced, regarding the "I have no choice in the matter", that maybe it is an idea to push your management into a new era, while being aware of the folllowing information (Metalink Note:392222.1):
    PURPOSE
    Reminder to Oracle Database customers of the end of Premier Support for version 9.2
    SCOPE & APPLICATION
    All Oracle9i Database Release 9.2 customers
    REMINDER: Premier Support for Oracle9i Database Release 9.2 Ends July 2007
    Oracle would like to remind our customers that the last day of 5-year Premier
    Support period for all editions of Oracle9i Database Release 9.2 is 31-July-2007.  
    Customers who plan on continuing to use Oracle9i Database Release 9.2 may choose
    from one of two options
    1. Continue with full error correction support by contracting for Extended
       Support, which will be offered for three years (to end of July 2010), or
    2. Continue with Sustaining Support which provides access to Global Customer
       Support and all pre-existing patches and Metalink notes (offered indefinitely).
    Customers wishing to upgrade to a release covered under Premier Support may
    choose Oracle Database Release 10.2 (Premier Support through end of July 2010)
    or Oracle Database Release 10.1 (Premier Support through end of January 2009).
    Oracle9i Database Release 9.2 Extended Support details:
    • Extended Support fee waived for the period August 1, 2007 to July 31, 2008.
    • Access to Fixes and Critical Patch Updates (CPUs) during the first year of
      Extended Support at no additional cost.
    • Patch set 9.2.0.8 will be the last patch set available for Oracle9i Database
      Release 9.2.
    • Effective August 1, 2007 all Fixes and CPUs will be created against the
      9.2.0.8 code line. 
    Please see the headline article on Metalink News and Notes entitled
    "First Year Extended Support Fee Waived for Oracle9i Database Release 2"
    for more details. 
    NOTES and EXCEPTIONS:
    • This end of Premier Support applies to all Oracle E-Business Suite,Peoplesoft,
      and Siebel customers using Database Version 9.2 where a later version of the
      Database is certified.  For example, E-Business Suite version 11.5.8 customers
      will be supported through the end of Premier Support for that E-Business Suite
      version because 9.2 was the last Database version certified.
    • Extended Support (ES) for the Oracle Database 9.2 will not include the
      Oracle HTTP Server 1.0.2.2 that is included with the Oracle Database 9.2.
    SUMMARY of Lifetime Support Dates for Oracle Database Release 9.2:
    Support Phase             Begins             Ends
    Premier Support             1-June-2003     31-July-2007
    Extended Support     1-August-2007     31-July-2010
    Sustaining Support     1-August-2010     Indefinite
    Please see http://www.oracle.com/support/premier/lifetime-support-policy.html for
    more information on the Lifetime Support Policy.

  • 9iR2 XSLT: disable-output-escaping bug if  input is escaped

    If my interpretation of XSLT standards is correct, the "disable-output-escaping" attribute in the following example should output <table width="100%"> before the first attribute of the current element, and </table> after the last one. The overall result will be a valid HTML table. This is what happens if my browser (IE 5.5 SP2) or XMLSpy does the transform.
    In 9iR2 (and also in 9iR1), however, the actual output is &lt;table width="100%"&gt; and &lt;/table&gt;.
    Is this a (known) bug ??
    Age Jan
    <xsl:template match="@*">
         <!-- xsl:if test="position()=1">
              <xsl:text disable-output-escaping="yes">&lt;table width="100%"&gt;</xsl:text>
         </xsl:if -->
         <tr class="attribute">
              <td width="40"><xsl:value-of select="name(.)"/></td>
              <td><xsl:value-of select="."/></td>
         </tr>
         <!-- xsl:if test="position()=last()">
              <xsl:text disable-output-escaping="yes">&lt;/table&gt;</xsl:text>
         </xsl:if -->
    </xsl:template>

    Bug 2289449

  • Disable-output-escaping and named templates Part Two

    Steve,
    I had tried explicitly adding the disable-output-escaping inside the template and it didnt seem to have any effect.
    I had assumed this was becuase it was too late, and that during the process of passing the values through to the template as a param it gets escaped so that disabling escaping inside the template has no impact.
    inside the template I use
    <xsl:copy-of disable-output-escaping="yes" select="$Contents" />
    Any comments, am I doing something wrong
    Rob
    null

    I think I am also seeing something similar.
    When I use the command line oraxsl tool,
    I can process an XML file that contains HTML
    where the '<' is already replaced with the
    '<' entity. To output the content, I
    use :
    <xsl:copy>
    <xsl:value-of select="."
    disable-output-escaping="yes"/>
    </xsl:copy>
    This works fine for oraxsl, but when I try to
    process the file with my own Java class that
    uses XSLStylesheet and XSLProcessor, the
    output shows up as '#60;' instead of '<'...
    What is happening in oraxsl that outputs the
    '<' ...
    null

  • Yoga 2 Pro - trackpad does not disable in tablet mode

    How do i set the trackpad to disable in table mode? I cannot use it as a tablet as the trackpad is still active.

    Solved my own problem: Reinstall of Touchpad drivers fixed this.

  • How to disable html for whole swing application.

    Hi,
    As we can disable html for individual swing components , for example JLabel
    label.putClientProperty("html.disable",Boolean.TRUE);
    BasicHTML.updateRenderer(label,"html.disable");
    is there any way to disable html rendering in swing components for system wide / whole application?.
    Thanks
    Kiran

    Better use a utility method in the application like this
    public static void disableHtml(JComponent component)
    component.putClientProperty("html.disable",Boolean.TRUE);
    BasicHTML.updateRenderer(component,"html.disable");
    call disableHtml(Component u want to set html disable) for any component in the application.

  • XSLT : Problem using xsl:value-of disable-output-escaping="yes"

    Hello,
    I have some problem using "disable-output-escaping" attribute of xsl:value-of() function.
    I have a table SONGS with two columns XML and XSL filled with :
    <song>
      <title>Isn't she lovely?</title>
    </song>
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:output method="xml" encoding="UTF-8"></xsl:output>
      <xsl:template match="//song">
        <out>
          <xsl:value-of select="title" disable-output-escaping="yes"></xsl:value-of>
        </out>
      </xsl:template>
    </xsl:stylesheet>The query to transform XML with XSL :
    SELECT XMLTRANSFORM (xml, xsl)  FROM songs;I get this XML :
    <out>Isn&apos;t she lovely?</out>but I want that (without the '&amp;' special character) :
    <out>Isn't she lovely?</out>How can I procees to succeed ?
    Thanks,
    Dominique

    What DB version?
    The following SQL
    select xmltransform(XMLTYPE('<song>
      <title>Isn''t she lovely?</title>
    </song>'), XMLTYPE('<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:output method="xml" encoding="UTF-8"></xsl:output>
      <xsl:template match="//song">
        <out>
          <xsl:value-of select="title" disable-output-escaping="yes"></xsl:value-of>
        </out>
      </xsl:template>
    </xsl:stylesheet>'))
      from dual;produces this on 11.1.0.6
    <?xml version="1.0" encoding="UTF-8"?>
    <out>Isn't she lovely?</out>and this on 10.2.0.4
    <out>Isn&apos;t she lovely?</out>I found a couple of previous discussions regarding this at
    {thread:id=679397}
    {thread:id=879301}
    The last discussion provides a workaround if you need it.

  • When I open an email, instead of clicking on the button 'html view mode', how do I set it permanently so I won't have to click on it each time?

    How do I keep html view mode on in email, instead of clicking on it each time?

    Hi linktogen,
    In order to test this, can you please provide the webmail you are using for further testing?
    Thank you!

  • Converting HTML Escaping to Unicode Escaping characters in Java

    Hi,
    I am getting some HTML escaping for special characters like pound, space, dollar etc. from database in HTML escaping format as  &apos; &pound;      &reg; etc.which I want to convert their Unicode equivalent escaping as U00A3,U0026. Java only convert & to & (U0026) but rest of the characters are not getting converted. If there is any API or way to do this please reply.
    Note : I cant change Database as there are already thousands of records & My front end only needs Java to do all these conversions I cant change that also.

    I have posted a method that does what you want. It was a long time ago since I wrote it and you should probably use a StringBuilder instead of a StringBuffer if you are going to use it in Java 5 or later. You can find the method in this thread:
    http://forum.java.sun.com/thread.jspa?threadID=652630

  • Disable HTML generation in Interactive Reporting documents

    I need to disable the generation of HTML that came with bqy documents, i know that is an option in the bqy properties that you can check to enable or disable this, but i already serach in verion 9.0.1 and 9.3 ant dont have any option for this.. <BR><BR>Any know how can i disable html?<BR><BR>Juan Alvarado

    Hi,
    I have been never used the MySQL server as a database. But I advise you that instead of copy the myodbc folder in new environment (in step 1), you should install the My SQL server database drives in new environment. As you will install the drivers, some entries of this installation will go to registry.
    Also registered your database server on Hyperion Server via RSC.
    Hope it will help you.
    Thanks & Regards,
    Mohit Jain

Maybe you are looking for

  • Backup documents, formatting and restoring OSx

    Hello, I own a macbook pro with Montain Lion and recently (even before the upgrade to Mountain Lion) most of the applications started to crash continuously. This happens for reliable applications like iTunes, iPhoto, iMovie and MainStage. For this re

  • Posting documents with in f110

    Dear gurus:                     I am new to SAP Financial accounting module and a learner. I have IDES access and i faced the follwoing difficult situation while posting outgoing payment in F110 by executing a payment proposal. The system is posting

  • Conversion of Oracle 9i to oracle 8i Syntax

    I have successfully coverted a java application that used a SQLServer database to Oracle 9i with minimal changes required to the sql syntax. I am now attempting to use Oracle 8i but unofortunately it does not support ANSI JOIN syntax (INNER JOIN ..)

  • Using EJB in WD application

    Dear all, I tried to import the 'TutWD_BonusCalculation_Init','BonusCalculationEjb','BonusCalculationEar' and 'BonusCalculationDic' which is present in SDN tutorial.As mentioned in tutorial i couldnt able to see the 'BonusCalculationEjb' and 'BonusCa

  • Custom voicemail recording doesn't work

    my iphone is two weeks old. i recorded a custom voicemail greeting when i first got it and now want to re-record. the keypad for the voicemail is no longer sensitive and the voicemial has now gone to the default mode. resetting has not helped. any su