close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

When header parameter is encrypted with wa_sha1encryption, it breaks when it has "+"

Thread began 5/14/2021 5:51 am by rogersds267040 | Last modified 5/17/2021 3:50 pm by Ray Borduin | 357 views | 6 replies |

rogersds267040

When header parameter is encrypted with wa_sha1encryption, it breaks when it has "+"

Appreciate some help in solving this issue.

When a header parameter is encrypted with wa_sha1encryption the encrypted value has a "+", the application breaks and does de-crypt properly

Sign in to reply to this post

Ray BorduinWebAssist

Do you have an example I can use to debug?

Sign in to reply to this post
Did this help? Tips are appreciated...

rogersds267040

Thank you, sir.
I'm trying to reproduce the error and send it to you. As indicated, it happens when the encrypted value has a + sign.

Thanks

Sign in to reply to this post

rogersds267040

Hi Ray,

I have attached two screenshots to this message. The first shows when the encryption happens without the +plus sign, it renders properly. When the encrypted value has a + sign, I get a white page. I also attached the listing page and the detail.

Let me know if you want to see the behavior live.

I have also added 2 instances of values that I tried to encrypt using has and the encrypted value. You can see the + plus sign which causes issues.

3OJ869kp5uofXrlZ0W4MygwPct2NeR - mLi4q5ur35Cu5OTYeOTNyJTGoW3s2+m50dtStsrE
B6Qj3z2Jwhkciu1oYtIaxpbdyrXLAl - p5+/3Zjspmrw1+DVieeS3b3jtoHr5NTN59l4tKbe

Sign in to reply to this post

Ray BorduinWebAssist

The plus symbol is converted to a space in a url. You probably have to replace the plus signs with %2B

Sign in to reply to this post
Did this help? Tips are appreciated...

rogersds267040

Thank you, Ray.
I assumed that I needed to do some extra work. Since the plugin generates the encrypted value, thought that was an easier way.

Sign in to reply to this post

Ray BorduinWebAssist

Just use str_replace() to replace the + with %2B when the url is generated.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...