Skip to content

PAC Files with myIpAddress() used seem to cause a reference error #1

Closed

Description

@manugarg

From [email protected] on April 14, 2008 05:11:02

What steps will reproduce the problem? 1. Use included myip.dat as input for the pacparser test sample
2. The dat file as all lines commented out apart from the one with myIpAddress() What is the expected output? What do you see instead? Expected output - a valid proxy as returned by the file.

Returned output -

  JSERROR: c:\myip.dat:11:
    ReferenceError: myIpAddress is not defined What version of the product are you using? On what operating system? pacparser 1.0.3, Windows 2003 Server, Visual Studio 2003. Please provide any additional information below. I have tried almost all the different types of pac files that can be found on the internet. This
seems to be the only function that gives a problem.

I am not sure how prevelant usage of myIpAddress() is, but would be a nice addition to the
library.

Original issue: http://code.google.com/p/pacparser/issues/detail?id=1

Activity

  1. manugarg commented on Sep 26, 2014

    @manugarg
    OwnerAuthor

    From manugarg on April 14, 2008 07:11:54

    This looks like a Windows specific error as you pac file works perfectly fine on Linux:

    manugarg@hobbiton:~/Desktop$ python -c 'import pacparser; print
    pacparser.just_find_proxy("myip.dat", "http://www.google.com")'
    DIRECT

    I don't have access to a Windows system right now. I'll take a look at it soon.

  2. manugarg commented on Sep 26, 2014

    @manugarg
    OwnerAuthor

    From manugarg on April 14, 2008 07:40:55

    (No comment was entered for this change.)

    Status: Accepted

  3. manugarg commented on Sep 26, 2014

    @manugarg
    OwnerAuthor

    From manugarg on April 17, 2008 03:13:50

    This issue has been fixed in the latest version in repository. For changes details: https://code.google.com/p/pacparser/source/detail?r=62

    Status: Started
    Owner: manugarg

  4. manugarg commented on Sep 26, 2014

    @manugarg
    OwnerAuthor

    From manugarg on April 18, 2008 12:39:12

    This issue has been fixed in the new release of pacparser: 1.0.4. Please look at the
    changelog for more details about the release.

    Thanks nbharatvarma for reporting this issue :)

    Status: Fixed

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions