Open Bug 530193 Opened 15 years ago Updated 2 years ago

Newsserver online search (XPAT) doesn't support slashes

Categories

(MailNews Core :: Networking: NNTP, defect)

defect

Tracking

(Not tracked)

People

(Reporter: mnyromyr, Unassigned)

Details

- open "Search Messages" for a news account
- search "Subject" "contains" "day/night" (the newsserver needs to support XPAT)
=> a news error will occur, eg. "500 What?" (actual message is server dependent)

The NNTP reveals that the / is interpreted as a nntp url path delimiter and the search part after the / is split off into some non-command:

1057097472[7f0236e10040]: (7f021c431c00) creating
1057097472[7f0236e10040]: (7f021c431c00) initializing, so unset m_currentGroup
1057097472[7f0236e10040]: (7f021c431c00) setting busy to 1
1057097472[7f0236e10040]: (7f021c431c00) ParseURL
1057097472[7f0236e10040]: (7f021c431c00) fullPath = /de.test?search/XPAT%20SUBJECT%20%201-%20*[Dd][Aa][Yy]/[Nn][Ii][Gg][Hh][Tt]*
1057097472[7f0236e10040]: (7f021c431c00) opening connection to news.tal.de on port 119
1057097472[7f0236e10040]: (7f021c431c00) setting busy to 1
1057097472[7f0236e10040]: (7f021c431c00) ParseURL
1057097472[7f0236e10040]: (7f021c431c00) fullPath = /de.test?search/XPAT%20SUBJECT%20%201-%20*[Dd][Aa][Yy]/[Nn][Ii][Gg][Hh][Tt]*
1057097472[7f0236e10040]: (7f021c431c00) m_messageID = (null)
1057097472[7f0236e10040]: (7f021c431c00) group = de.test
1057097472[7f0236e10040]: (7f021c431c00) commandSpecificData = ?search/XPAT SUBJECT  1- *[Dd][Aa][Yy]/[Nn][Ii][Gg][Hh][Tt]*
1057097472[7f0236e10040]: (7f021c431c00) m_key = -1
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_RESPONSE
1057097472[7f0236e10040]: (7f021c431c00) Receiving: 200 news.wtal.de InterNetNews NNRP server INN 2.2.2 13-Dec-1999 ready (posting ok).
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_LOGIN_RESPONSE
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_SEND_MODE_READER
1057097472[7f0236e10040]: (7f021c431c00) Sending: MODE READER
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_RESPONSE
1057097472[7f0236e10040]: (7f021c431c00) Receiving: 200 news.wtal.de InterNetNews NNRP server INN 2.2.2 13-Dec-1999 ready (posting ok).
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_SEND_MODE_READER_RESPONSE
1057097472[7f0236e10040]: (7f021c431c00) Next state: SEND_FIRST_NNTP_COMMAND
1057097472[7f0236e10040]: (7f021c431c00) doing GROUP for XPAT
1057097472[7f0236e10040]: (7f021c431c00) Sending: GROUP de.test
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_RESPONSE
1057097472[7f0236e10040]: (7f021c431c00) Receiving: 211 53 227332 227387 de.test
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_XPAT_SEND
1057097472[7f0236e10040]: (7f021c431c00) Sending: XPAT SUBJECT  1- *[Dd][Aa][Yy]
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_RESPONSE
1057097472[7f0236e10040]: (7f021c431c00) Receiving: 221 SUBJECT matches follow.
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_XPAT_RESPONSE
1057097472[7f0236e10040]: (7f021c431c00) Receiving: .
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_XPAT_SEND
1057097472[7f0236e10040]: (7f021c431c00) Sending: [Nn][Ii][Gg][Hh][Tt]*
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_RESPONSE
1057097472[7f0236e10040]: (7f021c431c00) Receiving: 500 What?
1057097472[7f0236e10040]: (7f021c431c00) Next state: NNTP_XPAT_RESPONSE
Blocks: 176238
Summary: Newsserver online search doesn't support slashes → Newsserver online search (XPAT) doesn't support slashes
No longer blocks: 176238
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.