Umpleonline URL encoding for small example's removes plus signs #974

Open
TimLethbridge opened this Issue Jan 25, 2017 · 0 comments

Projects

None yet

1 participant

@TimLethbridge
Member

Umple online has the feature to save the model in an encoded URL. however,
a + is not handled correctly. in the URL, a + is encoded correctly with
%2B, but the server seems to replace it with a space.

e.g.:

class A {
Integer a = { getB() + getC() }
}

results in the following URL, and the + disappears when you post this URL
into your browser.

http://cruise.eecs.uottawa.ca/umpleonline/?text=class%20A%20%7B%0A%20%20Integer%20a%20%3D%20%7B%20getB()%20%2B%20getC()%20%7D%0A%7D%2F%2F%24%3F%5BEnd_of_model%5D%24%3F%0A%0Aclass%20A%0A%7B%0A%20%20position%2050%2030%20109%2045%3B%0A%7D

This issue has been known for a long time, but there didn't seem to be a formal issue for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment