Skip to content

Commit

Permalink
Some urls add params without a /
Browse files Browse the repository at this point in the history
  • Loading branch information
bellegarde-c authored and jstedfast committed Jul 12, 2023
1 parent c376dc9 commit 845255a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/url-scanner.c
Original file line number Diff line number Diff line change
Expand Up @@ -503,6 +503,7 @@ url_web_end (const char *in, const char *pos, const char *inend, urlmatch_t *mat

/* we have a '/' so there could be a path - fall through */
case '/': /* we've detected a path component to our url */
case '?': /* we've detected params component to our url */
inptr++;

while (inptr < inend && is_urlsafe (*inptr) && *inptr != close_brace)
Expand Down

0 comments on commit 845255a

Please sign in to comment.