Skip to content

Wrong URL on subscription verification #4

@white-gecko

Description

@white-gecko

When the hub verifies a subscription to appends another question-mark ('?') to the callback URL even if it already contains parameters.

127.0.0.1 - - [07/Jul/2012:23:05:53 +0200] "GET /~natanael/index.php?c=push&a=callback?hub.challenge=1llvqgh&hub.topic=http%3A%2F%2Flocalhost%2F%7Enatanael%2Fmyfeed&hub.mode=subscribe HTTP/1.0" 200 1748 "-" "Twisted PageGetter"

Note: the spec says in section 6.1.1:

The callback URL MAY contain arbitrary query string parameters (e.g., ?foo=bar&red=fish). Hubs MUST preserve the query string during subscription verification by appending new parameters to the end of the list using the & (ampersand) character to join.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions