Skip to content

fix parsing to deal with ) in URLs. #859

Closed

Description

@Pomax

A URL like http://www.wolframalpha.com/input/?i=antiderivative+for+sqrt((2*(1-t)*t*B+%2B+t%5E2*C)%27%5E2+%2B+(2*(1-t)*t*E)%27%5E2)&incParTime=true is perfectly fine, but will cause marked to treat it as http://www.wolframalpha.com/input/?i=antiderivative+for+sqrt((2*(1-t because of the closing parentheses.

That's probably worth fixing.

Activity

  1. matt- commented on Feb 27, 2017

    @matt-
    Contributor

    Marked "should" support the ) escape.. but it does not for some reason on the closing ). If you URL encode the ) to %29 it should work until this is resolved.

  2. Pomax commented on Feb 27, 2017

    @Pomax
    Author

    aye, doing that in the meantime with some preprocessing (I'm pretty sure last time I checked marked used regexp for most of its matching, which is insufficient to properly match around nested pairs)

  3. joshbruce commented on Dec 25, 2017

    @joshbruce
    Member
  4. added
    L1 - broken
    on Jan 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    L1 - brokencategory: links

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions