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

OSC is returning internal URLs in error messages #9403

Open
SchoolGuy opened this issue Apr 16, 2020 · 4 comments
Open

OSC is returning internal URLs in error messages #9403

SchoolGuy opened this issue Apr 16, 2020 · 4 comments
Labels
Backend Things regarding the OBS backend

Comments

@SchoolGuy
Copy link

While working on a package in my home-project I accidentally misconfigured my service file which lead to an error. Apparently the client leaks in it's error message internal (for a user not reachable) URLs. Example can be seen below.

Output of osc --version: 0.168.2

> osc -A https://api.opensuse.org build --clean
Building onedrive.spec for openSUSE_Tumbleweed/x86_64
Getting buildconfig from server and store to /home/enno/Sources/External_Build_Service/home:SchoolGuy:branches:home:bmanojlovic:onedrive/onedrive/.osc/_buildconfig-openSUSE_Tumbleweed-x86_64
Getting buildinfo from server and store to /home/enno/Sources/External_Build_Service/home:SchoolGuy:branches:home:bmanojlovic:onedrive/onedrive/.osc/_buildinfo-openSUSE_Tumbleweed-x86_64.xml
Server returned an error: HTTP Error 400: Bad Request
remote error: element 'services' contains content (http://back-home-opensuse:5252/build/home:SchoolGuy:branches:home:bmanojlovic:onedrive/openSUSE_Tumbleweed/x86_64/onedrive/_buildinfo?add=gdb&add=vim&add=strace&add=less&add=rzsz)
@marcus-h
Copy link
Member

marcus-h commented Apr 16, 2020 via email

@SchoolGuy
Copy link
Author

SchoolGuy commented Apr 16, 2020

@adrianschroeter Could you then possibly transfer this issue to the obs repo? I guess this kind of information should not be leaked to the outside.

@lethliel lethliel transferred this issue from openSUSE/osc Apr 16, 2020
@lethliel
Copy link
Member

I am not Adrian, but I transferred the issue

@lethliel lethliel added the Backend Things regarding the OBS backend label Apr 16, 2020
@SchoolGuy
Copy link
Author

@lethliel Fine with me as well :D, just knew that Adrian should have the rights...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend Things regarding the OBS backend
Projects
None yet
Development

No branches or pull requests

3 participants