Snort does not take into account the full relay URL #750

Closed
opened 2024-06-26 16:43:15 +00:00 by patrickReiis · 1 comment

Describe the bug

Snort does not take into account the full relay URL, so if someone has a relay at wss://<my-relay.com>/nice, it would only perform a request to wss://<my-relay.com>, without the /nice suffix.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://snort.social/settings/relays
  2. Add the relay wss://gleasonator.dev/relay
  3. Click the add button
  4. Click the save button
  5. Open network tab
  6. See that the request URL doesn't include the /relay suffix

Expected behavior

It should not remove the /relay suffix.

Screenshots
If applicable, add screenshots to help explain your problem.

image

  • OS: [e.g. iOS]

  • Browser: Brave

  • Version: [e.g. 22]

  • OS: Ubuntu

  • Browser: Brave

  • Version: 1.67.123 Chromium: 126.0.6478.126

**Describe the bug** Snort does not take into account the full relay URL, so if someone has a relay at `wss://<my-relay.com>/nice`, it would only perform a request to `wss://<my-relay.com>`, without the `/nice` suffix. **To Reproduce** Steps to reproduce the behavior: 1. Go to [https://snort.social/settings/relays](https://snort.social/settings/relays) 2. Add the relay `wss://gleasonator.dev/relay` 3. Click the add button 4. Click the save button 5. Open network tab 6. See that the request URL doesn't include the `/relay` suffix **Expected behavior** It should not remove the `/relay` suffix. **Screenshots** If applicable, add screenshots to help explain your problem. ![image](/attachments/b1077fd2-e635-4f61-9ab6-fc6db804a21e) - OS: [e.g. iOS] - Browser: Brave - Version: [e.g. 22] - OS: Ubuntu - Browser: Brave - Version: 1.67.123 Chromium: 126.0.6478.126
Owner

It does use the path, this GET request is for the relay document

It does use the path, this GET request is for the relay document
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Kieran/snort#750
No description provided.