Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Escape attribute value #228

Merged
merged 2 commits into from Mar 12, 2020
Merged

Conversation

jjnicola
Copy link
Member

Also, cast value to str, before passing to quoteattr()
Also, use escape_ctrl_chars where necessary

@codecov
Copy link

codecov bot commented Mar 12, 2020

Codecov Report

Merging #228 into ospd-2.0 will increase coverage by 0.06%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff              @@
##           ospd-2.0     #228      +/-   ##
============================================
+ Coverage     68.49%   68.55%   +0.06%     
============================================
  Files            12       12              
  Lines          1901     1902       +1     
============================================
+ Hits           1302     1304       +2     
+ Misses          599      598       -1
Impacted Files Coverage Δ
ospd/xml.py 83.75% <100%> (+1.47%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 34cd633...ac58258. Read the comment docs.

Also, cast value to str, before passing to quoteattr()
Also, use escape_ctrl_chars where necessary
@bjoernricks bjoernricks merged commit 17f5d95 into greenbone:ospd-2.0 Mar 12, 2020
@jjnicola jjnicola deleted the more-escape-2 branch March 12, 2020 11:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants