Skip to content
This repository was archived by the owner on Feb 8, 2026. It is now read-only.
This repository was archived by the owner on Feb 8, 2026. It is now read-only.

support username / password #5

Closed

Description

@flyerhzm

If url contains username and password, like

http://user:passwd@example.com

it will raise exception, saying "invalid port", do you have any idea how to fix it?

Activity

  1. a2800276 commented on Mar 21, 2013

    @a2800276
    Owner

    I don't believe this should affect the http parser. Shouldn't the user/passwd part of the URI be translated to an approriate authorization mechanism -> probably http basic? I'm fairly certain the authorization bits before the @ ever hit the server, but I'll check. Or am I misunderstanding your question? Could you point me to the part of the JRuby API you are refering to?

  2. flyerhzm commented on Mar 22, 2013

    @flyerhzm
    ContributorAuthor

    you are right, I have tested it, user/password part won't hit server, thank you for pointing it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions