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

DBL (PT10) - is fetching resource when Disable Internet access in sensitive locations. PT95 does not #1421

Open
roopa0222 opened this issue Jan 8, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@roopa0222
Copy link

roopa0222 commented Jan 8, 2025

Describe the bug
In my testing, I disabled the internet access and noticed that the PT10 application can still get resources from DBL. In PT95 DBL can not be accessed.

To Reproduce
Steps to reproduce the behavior:

  1. Main menu > Help > Paratext Registration Infromation > Internet Settings > 'Disable Internet access in sensitive locations' > Save and Restart
  2. PT10 app is restarted
  3. Main menu > Project > Get Resources
  4. Notice that resources are fetched from the DBL server.
    From main logs
[2025-01-08 14:06:43.212] [info]  
[dotnet data provider]
REST GET call   [1]: length = 97, value = https://paratext-qa.thedigitalbiblelibrary.org/api/resource_entries.xml?username=Ratna%20Salagala
    DateTime=2025-01-08T19:06:43.2125275Z
[/dotnet data provider]
[2025-01-08 14:06:44.829] [info]  
[dotnet data provider]
ParanextDataProvider Information: 0 : REST GET return [1] (1617 ms): length = 872281, value = <?xml version="1.0" encoding="UTF-8"?><document><version>master/4fe7eac</version><resources><item><l ... pdated>2018-06-08T14:32:15.247175</dateUpdated><revision>2</revision></item></resources></document>

    DateTime=2025-01-08T19:06:44.8299881Z
[/dotnet data provider]

Note: The Tester is located in the US so the 'Disable Internet access in sensitive locations' seems right in PT10, but the issue here is the behavior is different in PT95

Expected behavior
Should not allow fetching resources when the internet is disabled.

Image
Image

@roopa0222 roopa0222 added the bug Something isn't working label Jan 8, 2025
@roopa0222
Copy link
Author

roopa0222 commented Jan 8, 2025

Update:
PT10 is NOT fetching resources when 'Disable all Internet use' is selected.Image

PT95 is only fetching data when 'Allow unrestricted Internet Use'.
PT95 does not allow DBL access when 'Disable Internet access in sensitive locations' and 'Disable ALL Internet access'

@roopa0222 roopa0222 changed the title DBL (PT10) - is fetching resource when Internet access is disabled DBL (PT10) - is fetching resource when Disable Internet access in sensitive locations. PT95 does not Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant