| 751 | } link_ctx; |
| 752 | |
| 753 | static int attr_char(char c) |
| 754 | { |
| 755 | switch (c) { |
| 756 | case '!': |
| 757 | case '#': |
| 758 | case '$': |
| 759 | case '&': |
| 760 | case '+': |
| 761 | case '-': |
| 762 | case '.': |
| 763 | case '^': |
| 764 | case '_': |
| 765 | case '`': |
| 766 | case '|': |
| 767 | case '~': |
| 768 | return 1; |
| 769 | default: |
| 770 | return apr_isalnum(c); |
| 771 | } |
| 772 | } |
| 773 | |
| 774 | static int ptoken_char(char c) |
| 775 | { |