openSUSE / obs-service-go_modules

OBS Source Service to download, verify, and vendor Go module dependency sources
GNU General Public License v2.0
19 stars 18 forks source link

Fix unsupported characters in XML #8

Closed sebd71 closed 1 year ago

sebd71 commented 4 years ago

go_modules service cannot be used on OBS server and generates an obscure error:

  400 remote error:
  Error (http://obs2:5152/sourceupdate/project/golang-test)

This is due to an invalid syntax in XML description field: '<' and '>' characters are not valid in value string.

jfkw commented 3 years ago

Thanks for the good find on the angle bracket characters in description, that will definitely go in. The second commit will be reviewed as part of the other pull request. No need to alter the PR, I will select individual commits and accept.

jfkw commented 1 year ago

The issue with the service file XML is fixed in 3b2ddb0db8227fe75eab43e18fe7aa7ef6c2a6a6. Will check current autodetection with your archive example soon.

dirkmueller commented 1 year ago

already fixed in master. thank you for the contribution!