devknight / javascriptbase64 Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/javascriptbase64
Automatically exported from code.google.com/p/javascriptbase64
slooooooow
Original issue reported on code.google.com by [email protected]
on 21 Jun 2012 at 5:55
What steps will reproduce the problem?
1. Encode text with this javascript
2. Encode same text with the PHP base64
3. It's different
Example text which gives this bug:
"< ?php
}
if ($teku6ta_stranica < $broi_stranici - 1) {
? >
<a href="< ?php echo
mybs."admin-mnenia/".$just_added_id."/".($teku6ta_stranica+1)."/"; ?
>">Следваща</a>
< ?php
}
? >"
What is the expected output? What do you see instead?
PCA/cGhwCn0KCmlmICgkdGVrdTZ0YV9zdHJhbmljYSA8ICRicm9pX3N0cmFuaWNpIC0gMSkgewo/ID4K
PGEgaHJlZj0iPCA/cGhwIGVjaG8gbXlicy4iYWRtaW4tbW5lbmlhLyIuJGp1c3RfYWRkZWRfaWQuIi8i
LigkdGVrdTZ0YV9zdHJhbmljYSsxKS4iLyI7ID8gPiI+0KHQu9C10LTQstCw0YnQsDwvYT4KPCA/cGhw
Cn0KCj8gPg==
PCA/cGhwDQp9DQoNCmlmICgkdGVrdTZ0YV9zdHJhbmljYSA8ICRicm9pX3N0cmFuaWNpIC0gMSkgew0K
PyA+DQo8YSBocmVmPSI8ID9waHAgZWNobyBteWJzLiJhZG1pbi1tbmVuaWEvIi4kanVzdF9hZGRlZF9p
ZC4iLyIuKCR0ZWt1NnRhX3N0cmFuaWNhKzEpLiIvIjsgPyA+Ij7R6+Xk4uD54DwvYT4NCjwgP3BocA0K
fQ0KDQo/ID4=
What version of the product are you using? On what operating system?
Aug 2008, WinXP, Firefox 3.x
Please provide any additional information below.
Tried different page encodings, UTF 8, cp1251, western.. same result.
Well, thats it, thank you!
Original issue reported on code.google.com by [email protected]
on 2 Jul 2010 at 3:38
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.