Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse_datasource() fails with options with colons #4688

Closed
davidnich opened this issue Jan 25, 2023 · 0 comments
Closed

parse_datasource() fails with options with colons #4688

davidnich opened this issue Jan 25, 2023 · 0 comments
Assignees
Milestone

Comments

@davidnich
Copy link
Contributor

ex:

qore -nX 'parse_datasource("jdbc:omquser/omquser@oracle:thin:@ignored{db=oracle:thin:@hq:1521:rippy,classpath=/usr/lib/oracle/21/client64/lib/ojdbc8.jar}")'
unhandled QORE System exception thrown in TID 1 at 2023-01-25 21:19:43.348740 Wed +01:00 (CET) in parse_datasource() (<command-line>:1 (Qore builtin code))
DATASOURCE-PARSE-ERROR: invalid characters present in port number in 'jdbc:omquser/omquser@oracle:thin:@ignored{db=oracle:thin:@hq:1521:rippy,classpath=/usr/lib/oracle/21/client64/lib/ojdbc8.jar}'
call stack:
  1: parse_datasource() (<command-line>:1 (Qore builtin code))
@davidnich davidnich added this to the 1.13.1 milestone Jan 25, 2023
@davidnich davidnich self-assigned this Jan 25, 2023
@davidnich davidnich added this to To do in Qore Development via automation Jan 25, 2023
davidnich added a commit that referenced this issue Jan 25, 2023
davidnich added a commit that referenced this issue Jan 25, 2023
#4689)

* refs #4688 fixed a bug in parse_datasource() parsing option values with special characters
Qore Development automation moved this from To do to Done Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant