Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TimLethbridge opened this issue Jan 25, 2017 · 0 comments
Open
Labels
Component-UmpleOnline Related to the UmpleOnline website Diffic-Med A non-trivial problem that may take over a week or may not be obvious how to fix or require analysis Priority-Medium This problem or request is likely to be of significant benefit if dealt with

Comments

@TimLethbridge
Copy link
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.

@TimLethbridge TimLethbridge added Component-UmpleOnline Related to the UmpleOnline website Diffic-Med A non-trivial problem that may take over a week or may not be obvious how to fix or require analysis Priority-Medium This problem or request is likely to be of significant benefit if dealt with labels Jan 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component-UmpleOnline Related to the UmpleOnline website Diffic-Med A non-trivial problem that may take over a week or may not be obvious how to fix or require analysis Priority-Medium This problem or request is likely to be of significant benefit if dealt with
Projects
None yet
Development

No branches or pull requests

1 participant