witch-house / pronoun.is

Show people how to use pronouns!
http://pronoun.is
GNU Affero General Public License v3.0
929 stars 103 forks source link

Requesting // followed by any amount of slashes displays she pronouns #110

Open Milinai opened 4 years ago

Milinai commented 4 years ago

Describe the bug Sending a request to the server with two or more / and only / characters in the path makes the server return a preview for she pronouns (first in pronouns.tab). Adding other content after six or more /s (for example this) will result in the example having empty pronoun fields.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://pronoun.is// (any amount of / may be added until the URI is too long)
  2. See how the page contains she pronouns

Expected behavior The server could return an error message, the main page or empty pronoun texts in the case of only / characters.

(this issue should happen across all devices)

morganastra commented 4 years ago

oh that's a funny one, thanks for finding it!

On Fri, Feb 14, 2020, 15:36 Milinai notifications@github.com wrote:

Describe the bug Sending a request to the server with two or more / and only / characters in the path makes the server return a preview for she pronouns (first in pronouns.tab https://github.com/witch-house/pronoun.is/blob/master/resources/pronouns.tab). Adding other content after six or more /s (for example this https://pronoun.is//////a) will result in the example having empty pronoun fields.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://pronoun.is// (any amount of / may be added until the URI is too long)
  2. See how the page contains she pronouns

Expected behavior The server could return an error message, the main page or empty pronoun texts in the case of only / characters.

(this issue should happen across all devices)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/witch-house/pronoun.is/issues/110?email_source=notifications&email_token=AALSVH4HQQLEAHNH3VA3UBTRC4TG3A5CNFSM4KVSDBS2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INWPWDQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALSVH3UJJ463Q6BUUS3Z2LRC4TG3ANCNFSM4KVSDBSQ .