Menu

#151 reading data with quotation marks won't be parsed correctly

v1.1.x
fixed
None
v1.1.0
Bug Fix
2017-02-15
2017-02-08
Erik Hänel
No

Reading the attached file and using the strfnd() function it isn't possible to find "title=", if all ' are replaced with " as in standard HTML.

Analysis:
This is an internal bug resulting from ignoring the parsed quotation marks. It's located in the resolution of the strfnd()(and probable the strrfnd()) function and not in the read command.

Implementation:
Fix was implemented as indicated by the analysis. The fix was also implemented for the strrfnd() function.

Documentation:
Not needed - Bug fix.

Tests:
Bug fix was tested in the context, in which the bug appeared. No deviations were detected. Bug fix accepted.

1 Attachments

Discussion

  • Erik Hänel

    Erik Hänel - 2017-02-08
    • status: open --> accepted
     
  • Erik Hänel

    Erik Hänel - 2017-02-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,9 @@
     Reading the attached file and using the  `strfnd()` function it isn't possible to find `"title="`, if all `'` are replaced with `"` as in standard HTML.
    +
    +**Analysis:**
    +
    +**Implementation:**
    +
    +**Documentation:**
    +
    +**Tests:**
    
    • status: accepted --> analyzing
     
  • Erik Hänel

    Erik Hänel - 2017-02-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,6 +1,7 @@
     Reading the attached file and using the  `strfnd()` function it isn't possible to find `"title="`, if all `'` are replaced with `"` as in standard HTML.
    
     **Analysis:**
    +This is an internal bug resulting from ignoring the parsed quotation marks. It's located in the resolution of the `strfnd()`(and probable the `strrfnd()`) function and not in the `read` command.
    
     **Implementation:**
    
    • status: analyzing --> implementing
     
  • Erik Hänel

    Erik Hänel - 2017-02-08
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -4,7 +4,9 @@
     This is an internal bug resulting from ignoring the parsed quotation marks. It's located in the resolution of the `strfnd()`(and probable the `strrfnd()`) function and not in the `read` command.
    
     **Implementation:**
    +Fix was implemented as indicated by the analysis. The fix was also implemented for the `strrfnd()` function.
    
     **Documentation:**
    +Not needed - Bug fix.
    
     **Tests:**
    
    • status: implementing --> testing
     
  • Erik Hänel

    Erik Hänel - 2017-02-15
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -10,3 +10,4 @@
     Not needed - Bug fix.
    
     **Tests:**
    +Bug fix was tested in the context, in which the bug appeared. No deviations were detected. Bug fix accepted.
    
    • status: testing --> fixed
     

Anonymous
Anonymous

Add attachments
Cancel