Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • P puri
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • clpm
  • puri
  • Issues
  • #2
Closed
Open
Issue created Sep 14, 2020 by Vincent Dardel@vdardel

parse-uri error when the query part has another ? character

(puri:parse-uri "/login?referer-route=/stock?q=lisp")

=>

Parse error:URI "/login?referer-route=/stock?q=lisp" contains illegal character #\? at position 27.
   [Condition of type PURI:URI-PARSE-ERROR]

Whereas with quri:

(quri:parse-uri "/login?referer-route=/stock?q=lisp")
NIL
NIL
NIL
NIL
"/login"
"referer-route=/stock?q=lisp"
NIL

With Python:

import urllib
urllib.parse.urlparse('/login?referer-route=/stock?q=lisp')                                
Out[4]: ParseResult(scheme='', netloc='', path='/login', params='', query='referer-route=/stock?q=lisp', fragment='')
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking