Welcome, guest Sign In

Chapter 7. Appendix and FAQs

Reserved Characters and Escape Values

Use the following characters in URLs only in syntactically required locations. To use in argument values, they must be escaped.

Reserved character Escape value

slash (/)

%2F

question mark (?)

%3F

ampersand (&)

%26

semicolon (;)

%3B

colon (:)

%3A

commercial at sign (@)

%40

comma (,)

%2C

dollar sign ($)

%24

equals sign (=)

%3D

space ( )

%20

percent sign (%)

%25

quotation marks (")

%22

plus sign (+)

%2B

hash (#)

%23

asterisk (*)

%2A

less-than sign (<)

%3C

greater-than sign (>)

%3E

left brace ({)

%7B

right brace (})

%7D

vertical bar (|)

%7C

left square bracket ([)

%5B

right square bracket (])

%5D

circumflex (^)

%5E

backslash (\)

%5C

accent grave (`)

%60

If a URL contains invalid characters, BOSS returns a Bad Request response with a status code of 400.

Important

Some of the BOSS examples in this document contain reserved characters that need to be escaped. However, for legibility the examples eliminate the escape values. Therefore, if you use these examples verbatim to test queries, they will not work.

  • Queries should be encoded per RFC3986 standard.
  • http://ietfreport.isoc.org/idref/rfc3986/

Table of Contents

Copyright © 2009 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions