URL and blanc characters

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default URL and blanc characters

    An URL adress is passed via a Javascript :
    [url]http://192.168.0.3:8500/archive_sys_new/warehouse/flex_reports.cfm?e_dept=Qualit[/url]
    y%20&%20Compliance%20Management When i want to get this url variable
    'e_dept' with CF, #url.e_dept# I get e_dept='quality' , the rest is lost.
    I cannot use URLEncodedFormat at this stage, because the link is dynamic and
    done via a javascript. How to get 'Quality & Compliance Management' from
    the URL and not only 'Quality' ? I tried URLdecode, it does not do it.
    Thanks for help. Pierre.

    plarts Guest

  2. Similar Questions and Discussions

    1. What's up with the fat characters in my PDF? (I and L)
      Same issue here. In Acrobat Reader 7.0.8: <http://home.mac.se/star-affinity/acrobat.png> In Preview (Mac OS X 10.4.7):...
    2. restrict characters
      in the action script i create //allowed character var restrict_:String = "a-z,A-Z,0-1,!,@,$,%,^,*,(,),,{,},;,\',\",/,\\,-,.,+,|, ,,"; and in...
    3. More special characters in FH
      Hello, Just one question: what do you do to insert ligatures and some "advanced" characters (glyphs) into the text created in FH? Thanks,...
    4. how to read japanese characters (multilingual characters) from a text file and save them in Access database ???
      HI All i m trying to read a text file, having some japanese characters and saved as UTF-8 encoding. I m using ASP,FSO ... my code is below,...
    5. Numeric characters after alphabetic characters sorting varchar2 fields
      Hi! Why numeric characters are placed after alphabetic characters sorting varchar2 fields? Example: AAA BBB 111 FFF XXX
  3. #2

    Default Re: URL and blanc characters

    If e_dept is the only variable being passed in the URL then you could use the CGI.QUERY_STRING value like this:

    #ReplaceNoCase(URLDecode(CGI.QUERY_STRING),"e_dept =","")#

    eastinq Guest

  4. #3

    Default Re: URL and blanc characters

    I found the problem, this was because there are some '&amp;' in the content of
    the passed vaiable. Then it takes whatever after the &amp; like the next
    variable, means that the content of the variable is cutted. To solve this, I
    replaced the char &amp; by %26 in JavaScript, before sending the URL. Then
    it works. Thanks for your interest. Pierre.

    plarts Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139